forgejo/services/auth/source/oauth2
zeripath 7e98cd58dd
Add SkipLocal2FA option to pam and smtp sources (#17078)
* Add SkipLocal2FA option to other pam and smtp sources

Extend #16954 to allow setting skip local 2fa on pam and SMTP authentication sources

Signed-off-by: Andrew Thornton <art27@cantab.net>

* make SkipLocal2FA omitempty

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: 6543 <6543@obermui.de>
2021-09-26 21:02:01 -04:00
..
assert_interface_test.go Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
init.go Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
jwtsigningkey.go refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
providers.go Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
providers_base.go
providers_custom.go
providers_openid.go
providers_simple.go
source.go Add SkipLocal2FA option to pam and smtp sources (#17078) 2021-09-26 21:02:01 -04:00
source_authenticate.go Make LDAP be able to skip local 2FA (#16954) 2021-09-17 12:43:47 +01:00
source_callout.go
source_name.go
source_register.go
token.go
urlmapping.go