Projet

Général

Profil

« Précédent | Suivant » 

Révision 6a622bf4

Ajouté par Serghei Mihai (congés, retour 15/05) il y a environ 9 ans

fail login if ldap not available (#6827)

Voir les différences:

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

Formats disponibles : Unified diff