fixed 区分找回密码邮件标题

This commit is contained in:
“xxq250”
2022-11-15 14:31:18 +08:00
parent 62a9941e22
commit 134a395ffa
2 changed files with 19 additions and 2 deletions

View File

@@ -10,6 +10,18 @@ class UserMailer < ApplicationMailer
mail(to: mail, subject: 'Gitink | 注册验证码')
end
# 用户找回密码
def find_password(mail, code)
@code = code
mail(to: mail, subject: 'Gitink | 找回密码验证码')
end
# 用户绑定邮箱
def bind_email(mail, code)
@code = code
mail(to: mail, subject: 'Gitink | 绑定邮箱验证码')
end
def update_email(mail, code)
@code = code
mail(to: mail, subject: 'Gitink | 更改邮箱验证码')