loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix bug when change user name (#25637)

Fix #25621

Co-authored-by: Giteabot <teabot@gitea.io>

authored by

Lunny Xiao
Giteabot
and committed by
GitHub
f1cb461c 45bc180a

+4
+4
models/user/redirect.go
··· 64 64 oldUserName = strings.ToLower(oldUserName) 65 65 newUserName = strings.ToLower(newUserName) 66 66 67 + if err := DeleteUserRedirect(ctx, oldUserName); err != nil { 68 + return err 69 + } 70 + 67 71 if err := DeleteUserRedirect(ctx, newUserName); err != nil { 68 72 return err 69 73 }