Project

General

Profile

« Previous | Next » 

Revision 6a622bf4

Added by Serghei Mihai about 9 years ago

fail login if ldap not available (#6827)

View differences:

uauth/utils.py
54 54
        dn = 'uid=%s,%s' % (username, settings.LDAP_CONF['dn'])
55 55
        logger.debug('creating new radius user: %s' % dn)
56 56
        connection.add_s(dn, ldif)
57
        return True
58
    else:
59
        return False

Also available in: Unified diff