gitea/routers/repo
Moritz Heiber 7e12aac61c Only allow token authentication with 2FA enabled (#2184)
* 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
2017-07-26 15:33:16 +08:00
..
attachment.go
branch.go Make branch deletion URL more like GitHub's, fixes #1397 (#1994) 2017-06-21 09:00:03 +08:00
commit.go
download.go
editor.go repo/editor: fix breadcrumb path cuts parent dirs (#3859) (#2032) 2017-06-22 23:30:47 +08:00
http.go Only allow token authentication with 2FA enabled (#2184) 2017-07-26 15:33:16 +08:00
issue_label.go Load label ID in NewLabels (#2045) 2017-06-25 14:15:09 +08:00
issue_watch.go
issue.go Make branch deletion URL more like GitHub's, fixes #1397 (#1994) 2017-06-21 09:00:03 +08:00
middlewares.go
pull.go Revert "Add ability to fork your own repos (#761)" (#2193) 2017-07-26 15:17:38 +08:00
release.go Fix release display and correct paging (#2080) 2017-06-29 23:11:38 +08:00
repo.go
setting.go Fix uppercase default branch bug (#1965) 2017-06-14 08:42:36 +08:00
view.go Support CRLF when splitting code lines for display (#1862) 2017-06-10 23:20:25 +08:00
webhook.go Add Gitea Webhook (#1755) 2017-05-29 02:17:15 -05:00
wiki.go