mirror of
https://github.com/go-gitea/gitea.git
synced 2026-11-26 23:31:59 +00:00
Backport #31130 by @lunny Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
1 parent
d6ae2b3c4e
commit
e6bacf1fed
5 files changed
+5
No files matched your search
@@ -831,6 +831,7 @@ func ActivateEmail(ctx *context.Context) {
|
||||
if email := user_model.VerifyActiveEmailCode(ctx, code, emailStr); email != nil {
|
||||
if err := user_model.ActivateEmail(ctx, email); err != nil {
|
||||
ctx.ServerError("ActivateEmail", err)
|
||||
return
|
||||
}
|
||||
|
||||
log.Trace("Email activated: %s", email.Email)
|
||||
|
||||
Reference in new issue
Block a user