redirect to login page after successfully activating account
This commit is contained in:
parent
55d9ddf24a
commit
0bef325fb4
|
@ -1034,7 +1034,7 @@ func Activate(ctx *context.Context) {
|
||||||
|
|
||||||
ctx.Session.Set("uid", user.ID)
|
ctx.Session.Set("uid", user.ID)
|
||||||
ctx.Session.Set("uname", user.Name)
|
ctx.Session.Set("uname", user.Name)
|
||||||
ctx.Redirect(setting.AppSubURL + "/")
|
ctx.Redirect(setting.AppSubURL + "/user/login")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user