|
|
@@ -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) |
|
|
|
} |
|
|
|