Archived
Try reusing https://docs.djangoproject.com/en/dev/topics/auth/#module-django.contrib.auth.views to greatest extent.
9 lines
250 B
Python
9 lines
250 B
Python
from django.contrib.auth.forms import PasswordChangeForm, SetPasswordForm
|
|
class LDAPPasswordChangeForm(PasswordChangeForm):
|
|
# TODO: Change password here
|
|
pass
|
|
|
|
class LDAPSetPasswordForm(SetPasswordForm):
|
|
# TODO: Set password here
|
|
pass
|