Loading coin/dsl_ldap/models.py +3 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,8 @@ from django.db import models from django.utils.translation import ugettext_lazy as _ from django.conf import settings from netfields import InetAddressField, NetManager import ldapdb.models from ldapdb.models.fields import CharField, ListField Loading Loading @@ -67,6 +69,7 @@ class DSLConfiguration(CoinLdapSyncMixin, Configuration): password = models.CharField(max_length=256, blank=True, verbose_name=_("password"), help_text=_("Will be stored in cleartext! Automatically generated if empty")) objects = NetManager() def full_login(self): """Login with realm""" Loading Loading
coin/dsl_ldap/models.py +3 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,8 @@ from django.db import models from django.utils.translation import ugettext_lazy as _ from django.conf import settings from netfields import InetAddressField, NetManager import ldapdb.models from ldapdb.models.fields import CharField, ListField Loading Loading @@ -67,6 +69,7 @@ class DSLConfiguration(CoinLdapSyncMixin, Configuration): password = models.CharField(max_length=256, blank=True, verbose_name=_("password"), help_text=_("Will be stored in cleartext! Automatically generated if empty")) objects = NetManager() def full_login(self): """Login with realm""" Loading