Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only check access tokens if they are likely to be tokens (#16164) #16171

Merged

Commits on Jun 16, 2021

  1. Only check access tokens if they are likely to be tokens (go-gitea#16164

    )
    
    Backprt go-gitea#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>
    zeripath committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    7d9cbf2 View commit details
    Browse the repository at this point in the history