1
0
Fork 0
mirror of https://github.com/Luzifer/nginx-sso.git synced 2024-10-18 07:34:22 +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:
Maximilian Gaß 2019-06-15 00:17:16 +02:00 committed by Knut Ahlers
parent 07f10142d1
commit 1e9446d2e6

View file

@ -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))