Browse Source

Merge branch 'zouap' of git.openi.org.cn:OpenI/aiforge into zouap

pull/2977/head
chenshihai 2 years ago
parent
commit
528c550a7b
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