remove unrelated changes
This commit is contained in:
parent
0f9cd8aca5
commit
4f6ae0ffe7
|
@ -1035,7 +1035,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 + "/user/login")
|
ctx.Redirect(setting.AppSubURL + "/")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user