]> source.dussan.org Git - gitea.git/commit
Restore token authentication for git http when 2FA active (#15915)
authorzeripath <art27@cantab.net>
Wed, 19 May 2021 02:30:33 +0000 (03:30 +0100)
committerGitHub <noreply@github.com>
Wed, 19 May 2021 02:30:33 +0000 (22:30 -0400)
commit0e56e9c9d91c24a19c0bcbb521f671b230e6ba2a
tree81de50b9b5efaccbf858e417bc189621d4f96f0a
parent825547b20ea8a91dfa5c0a9ce3480517b5949d26
Restore token authentication for git http when 2FA active (#15915)

There was a small regression in #15303 whereby token auth
with 2FA active would be disallowed.

This PR fixes this.

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
routers/repo/http.go