mirror of
https://github.com/Luzifer/nginx-sso.git
synced 2024-12-20 12:51:17 +00:00
Prefer simple authenticator over LDAP (#42)
Allows to have local accounts that always work, even if there are LDAP problems
This commit is contained in:
parent
07f10142d1
commit
1e9446d2e6
1 changed files with 1 additions and 1 deletions
2
core.go
2
core.go
|
@ -14,11 +14,11 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func registerModules() {
|
func registerModules() {
|
||||||
|
registerAuthenticator(simple.New(cookieStore))
|
||||||
registerAuthenticator(crowd.New())
|
registerAuthenticator(crowd.New())
|
||||||
registerAuthenticator(ldap.New(cookieStore))
|
registerAuthenticator(ldap.New(cookieStore))
|
||||||
registerAuthenticator(google.New(cookieStore))
|
registerAuthenticator(google.New(cookieStore))
|
||||||
registerAuthenticator(oidc.New(cookieStore))
|
registerAuthenticator(oidc.New(cookieStore))
|
||||||
registerAuthenticator(simple.New(cookieStore))
|
|
||||||
registerAuthenticator(token.New())
|
registerAuthenticator(token.New())
|
||||||
registerAuthenticator(auth_yubikey.New(cookieStore))
|
registerAuthenticator(auth_yubikey.New(cookieStore))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue