gitea/routers/repo
Moritz Heiber 7e12aac61c Only allow token authentication with 2FA enabled ()
* Don't allow for plain username/password authentication when 2FA is enabled

* Removed debugging statement

* Don't assume a token belongs to a given user, handle two-factor errors properly

* Simplified user/token matching, refactored error handling for two-factor authentication

* Change authentication response to avoid bruteforcing

* Add TODO item as a comment for changing the response for security purposes
..
attachment.go Allow custom public files ()
branch.go Make branch deletion URL more like GitHub's, fixes ()
commit.go Show commit status icon in commits table ()
download.go Download files to their original filename ()
editor.go repo/editor: fix breadcrumb path cuts parent dirs () ()
http.go Only allow token authentication with 2FA enabled ()
issue.go Make branch deletion URL more like GitHub's, fixes ()
issue_label.go Load label ID in NewLabels ()
issue_watch.go Add copyright headers
middlewares.go golint fixed for routers/repo/middlewares.go ()
pull.go Revert "Add ability to fork your own repos ()" ()
release.go Fix release display and correct paging ()
repo.go Fix renaming bug ()
setting.go Fix uppercase default branch bug ()
view.go Support CRLF when splitting code lines for display ()
webhook.go Add Gitea Webhook ()
wiki.go Add markup package to prepare for org markup format ()