mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
fixed 区分找回密码邮件标题
This commit is contained in:
@@ -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 | 更改邮箱验证码')
|
||||
|
||||
Reference in New Issue
Block a user