We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6900ede commit 47e6d4eCopy full SHA for 47e6d4e
1 file changed
internal/rpc/chat/login.go
@@ -96,7 +96,7 @@ func (o *chatSvr) SendVerifyCode(ctx context.Context, req *chat.SendVerifyCodeRe
96
switch o.conf.Mail.Use {
97
case constant.VerifySuperCode:
98
return &chat.SendVerifyCodeResp{}, nil // super code
99
- case constant.Email:
+ case constant.VerifyMail:
100
default:
101
return nil, errs.ErrInternalServer.WrapMsg("email verification code is not enabled")
102
}
0 commit comments