Browse Source

代码提交。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.9.2^2
zouap 3 years ago
parent
commit
9b03d48fe9
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      routers/user/auth.go

+ 1
- 0
routers/user/auth.go View File

@@ -1366,6 +1366,7 @@ func SignUpPost(ctx *context.Context, cpt *captcha.Captcha, form auth.RegisterFo
}
log.Trace("Account created: %s", u.Name, ctx.Data["MsgID"])

log.Info("enter here, and form.InvitaionCode =" + form.InvitaionCode)
if form.InvitaionCode != "" {
RegisteUserByInvitaionCode(form, u.ID)
}


Loading…
Cancel
Save