1
1
mirror of https://github.com/go-gitea/gitea synced 2024-06-02 09:25:48 +00:00
gitea/routers/web/user
zeripath 9ca0e7905c
Add setting to OAuth handlers to skip local 2FA authentication (#16594)
This PR adds a setting to OAuth and OpenID login sources to allow the source to
skip local 2FA authentication.

Fix #13939

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-09-10 18:37:57 +02:00
..
setting Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 2021-08-11 02:31:13 +02:00
auth_openid.go Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 2021-08-11 02:31:13 +02:00
auth.go Add setting to OAuth handlers to skip local 2FA authentication (#16594) 2021-09-10 18:37:57 +02:00
avatar.go Add Cache-Control to avatar redirects (#16973) 2021-09-06 23:05:44 +02:00
home_test.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
home.go Correctly return the number of Repositories for Organizations (#16807) 2021-09-01 01:31:42 -04:00
main_test.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
notification.go Related refactors to ctx.FormX functions (#16567) 2021-08-11 18:08:52 +03:00
oauth_test.go Decoupled code from DefaultSigningKey (#16743) 2021-08-27 20:28:00 +01:00
oauth.go Decoupled code from DefaultSigningKey (#16743) 2021-08-27 20:28:00 +01:00
profile.go In Render tolerate not being passed a context (#16842) 2021-08-28 21:15:56 +01:00
task.go Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00