forkjo/routers
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
..
admin Make time diff translatable (#2057) 2017-06-28 13:43:28 +08:00
api/v1 API: support '/orgs/:org/repos' (#2047) 2017-07-13 13:14:15 +02:00
dev Make time diff translatable (#2057) 2017-06-28 13:43:28 +08:00
org Remove unit types commits and settings (#2161) 2017-07-17 10:04:43 +08:00
private fix bug when push a branch name with / & fix an integration test bug (#1689) 2017-05-08 10:55:27 +08:00
repo Only allow token authentication with 2FA enabled (#2184) 2017-07-26 15:33:16 +08:00
routes Remove unit types commits and settings (#2161) 2017-07-17 10:04:43 +08:00
user Make time diff translatable (#2057) 2017-06-28 13:43:28 +08:00
home.go Generate swagger json (#1402) 2017-05-02 15:35:59 +02:00
init.go Fix git hooks update to receive required arguments. Fixes #2090 (#2095) 2017-07-02 21:50:57 +08:00
install.go fix misspell (#1996) 2017-06-18 08:30:04 +08:00