mirror of
https://gitee.com/gitea/gitea
synced 2025-12-25 01:36:34 +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.