Source code for ferrosoft.apps.ferrobase.session.forms
from django import forms
[docs]
class ResetPasswordForm(forms.Form):
"""Form collecting the username to begin a password reset flow."""
username = forms.CharField()
[docs]
class SetNewPasswordForm(forms.Form):
"""Form collecting and confirming the new password during reset completion."""
password = forms.CharField()
password_again = forms.CharField()