Sito marketing, SEO, legal, live programmata e branding Match Live Tv.
Logo e favicon nel header, partite programmate su web e mobile, reset password, pagine FAQ/sitemap, privacy/termini GDPR e icona Android «Match Live Tv». Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
class ApplicationMailer < ActionMailer::Base
|
||||
default from: "from@example.com"
|
||||
default from: -> { MatchLiveTv.mail_from }
|
||||
layout "mailer"
|
||||
end
|
||||
|
||||
11
backend/app/mailers/user_mailer.rb
Normal file
11
backend/app/mailers/user_mailer.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
class UserMailer < ApplicationMailer
|
||||
default from: -> { MatchLiveTv.mail_from }
|
||||
|
||||
def password_reset(user, token)
|
||||
@user = user
|
||||
@reset_url = public_password_reset_url(token: token)
|
||||
@expiry_hours = MatchLiveTv.password_reset_expiry_hours
|
||||
|
||||
mail to: user.email, subject: "Reimposta la password — Match Live TV"
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user