mirror of https://github.com/go-gitea/gitea
Backprt #16164 Gitea will currently check every if every password is an access token even though most passwords are not and cannot be access tokens. By creation access tokens are 40 byte hexadecimal strings therefore only these should be checked. Signed-off-by: Andrew Thornton <art27@cantab.net>pull/16172/head^2
parent
bc82bb9cda
commit
946eb1321c
Loading…
Reference in new issue