forked from shaba/openuds
Fixed debug match output
This commit is contained in:
parent
dc6af051ac
commit
5a80efc852
@ -43,7 +43,7 @@ import ldap
|
||||
import re
|
||||
import logging
|
||||
|
||||
__updated__ = '2014-04-28'
|
||||
__updated__ = '2014-05-29'
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
@ -163,7 +163,7 @@ class RegexLdap(auths.Authenticator):
|
||||
try:
|
||||
v = vv.decode('utf-8')
|
||||
srch = re.search(pattern, v, re.IGNORECASE)
|
||||
logger.debug("Found against {0}: {1} ".format(v, srch))
|
||||
logger.debug("Found against {0}: {1} ".format(v, srch.groups()))
|
||||
if srch is None:
|
||||
continue
|
||||
res.append(''.join(srch.groups()))
|
||||
|
Loading…
Reference in New Issue
Block a user