forked from shaba/openuds
Fixed a bug with internal auth (no groups returned on authentication, resulting in access denied)
This commit is contained in:
parent
996b429f85
commit
377d00f190
@ -11,10 +11,12 @@ encoding//src/server/urls.py=utf-8
|
|||||||
encoding//src/uds/__init__.py=utf-8
|
encoding//src/uds/__init__.py=utf-8
|
||||||
encoding//src/uds/auths/ActiveDirectory/Authenticator.py=utf-8
|
encoding//src/uds/auths/ActiveDirectory/Authenticator.py=utf-8
|
||||||
encoding//src/uds/auths/ActiveDirectory/__init__.py=utf-8
|
encoding//src/uds/auths/ActiveDirectory/__init__.py=utf-8
|
||||||
|
encoding//src/uds/auths/ActiveDirectory_enterprise/Authenticator.py=utf-8
|
||||||
encoding//src/uds/auths/Dummy/Authenticator.py=utf-8
|
encoding//src/uds/auths/Dummy/Authenticator.py=utf-8
|
||||||
encoding//src/uds/auths/Dummy/__init__.py=utf-8
|
encoding//src/uds/auths/Dummy/__init__.py=utf-8
|
||||||
encoding//src/uds/auths/EDirectory/Authenticator.py=utf-8
|
encoding//src/uds/auths/EDirectory/Authenticator.py=utf-8
|
||||||
encoding//src/uds/auths/EDirectory/__init__.py=utf-8
|
encoding//src/uds/auths/EDirectory/__init__.py=utf-8
|
||||||
|
encoding//src/uds/auths/EDirectory_enterprise/Authenticator.py=utf-8
|
||||||
encoding//src/uds/auths/IP/Authenticator.py=utf-8
|
encoding//src/uds/auths/IP/Authenticator.py=utf-8
|
||||||
encoding//src/uds/auths/IP/__init__.py=utf-8
|
encoding//src/uds/auths/IP/__init__.py=utf-8
|
||||||
encoding//src/uds/auths/InternalDB/Authenticator.py=utf-8
|
encoding//src/uds/auths/InternalDB/Authenticator.py=utf-8
|
||||||
|
@ -291,7 +291,6 @@ class RegexLdap(Authenticator):
|
|||||||
if user is None:
|
if user is None:
|
||||||
raise AuthenticatorException(_('Username not found'))
|
raise AuthenticatorException(_('Username not found'))
|
||||||
groups = self.__getGroups(user)
|
groups = self.__getGroups(user)
|
||||||
res = []
|
|
||||||
for g in groups:
|
for g in groups:
|
||||||
gg = groupsManager.validate(g)
|
gg = groupsManager.validate(g)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user