1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-27 09:11:53 -05:00
forgejo/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 Allow custom public files (#782) 2017-01-28 23:14:56 +01:00
branch.go Make branch deletion URL more like GitHub's, fixes #1397 (#1994) 2017-06-21 09:00:03 +08:00
commit.go Show commit status icon in commits table (#1688) 2017-05-07 22:40:31 +08:00
download.go Download files to their original filename (#1676) 2017-05-05 14:03:54 +08:00
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.go Make branch deletion URL more like GitHub's, fixes #1397 (#1994) 2017-06-21 09:00:03 +08:00
issue_label.go Load label ID in NewLabels (#2045) 2017-06-25 14:15:09 +08:00
issue_watch.go Add copyright headers 2017-03-30 19:11:58 -03:00
middlewares.go golint fixed for routers/repo/middlewares.go (#204) 2016-11-21 18:03:37 +08:00
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 Fix renaming bug (#1786) 2017-05-24 14:01:02 +08:00
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 Add markup package to prepare for org markup format (#1493) 2017-04-21 09:01:08 +02:00