mirror of
https://github.com/go-gitea/gitea.git
synced 2025-03-04 12:16:41 +08:00

Fixes a wrong 302 redirect to the login page, see https://github.com/go-gitea/gitea/issues/11989. Also made it so the reserved username list is extended with those known entries so we avoid code duplication.