mirror of
https://github.com/go-gitea/gitea.git
synced 2025-03-02 00:55:51 +01: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. Should be backported to 1.12.