remove unrelated changes
This commit is contained in:
parent
845c00bd2f
commit
b6b39d31b0
|
@ -1037,7 +1037,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