Revision 158a72ec snf-astakos-app/astakos/im/auth_providers.py

b/snf-astakos-app/astakos/im/auth_providers.py
135 135
    def extra_actions(self):
136 136
        return [(_('Change password'), reverse('password_change')), ]
137 137

  
138
class LDAPAuthProvider(AuthProvider):
139
    module = 'ldap'
140
    title = _('LDAP credentials')
141
    description = _('Allows you to login using your LDAP credentials')
142

  
143
    one_per_user = True
144

  
145
    login_template = 'im/auth/local_login_form.html'
146
    login_prompt_template = 'im/auth/local_login_prompt.html'
147
    signup_prompt_template = 'im/auth/local_signup_prompt.html'
148
    details_tpl = _('You can login to your account using your'
149
                    ' %(auth_backend)s password.')
138 150

  
139 151
class ShibbolethAuthProvider(AuthProvider):
140 152
    module = 'shibboleth'

Also available in: Unified diff