|
|
|
@@ -1435,7 +1435,7 @@ func UpdateEmailPost(ctx *context.Context, form auth.UpdateEmailForm) { |
|
|
|
ctx.ServerError("UpdateEmailAddress failed", err) |
|
|
|
return |
|
|
|
} |
|
|
|
ctx.Data["Email"] = newEmailAddress |
|
|
|
ctx.Data["SignedUser.Email"] = newEmailAddress |
|
|
|
ctx.User.Email = newEmailAddress |
|
|
|
Activate(ctx) |
|
|
|
|
|
|
|
|