FIX 调整注册接口

This commit is contained in:
jasder
2021-11-02 13:39:45 +08:00
parent 6c67b92bb1
commit 1008f17849
11 changed files with 269 additions and 89 deletions

View File

@@ -1,10 +1,11 @@
class UserMailer < ApplicationMailer
# 注意:这个地方一定要和你的邮箱服务域名一致
default from: 'notification@gitlink.org.cn'
default from: 'notification@trustie.org'
# 用户注册验证码
def register_email(mail, code)
@code = code
mail(to: mail, subject: 'GitLink | 注册确实开源邮箱验证')
mail(to: mail, subject: 'Gitink | 注册验证')
end
end