forked from forgejo/forgejo
log user in after a successful sign up (#4615)
This commit is contained in:
parent
4a7de87071
commit
69a855f3d4
2 changed files with 3 additions and 1 deletions
|
@ -987,7 +987,8 @@ func SignUpPost(ctx *context.Context, cpt *captcha.Captcha, form auth.RegisterFo
|
|||
return
|
||||
}
|
||||
|
||||
ctx.Redirect(setting.AppSubURL + "/user/login")
|
||||
ctx.Flash.Success(ctx.Tr("auth.sign_up_successful"))
|
||||
handleSignInFull(ctx, u, false, true)
|
||||
}
|
||||
|
||||
// Activate render activate user page
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue