AuthenticateForm¶
Qualified name: intranet.apps.auth.forms.AuthenticateForm
- class intranet.apps.auth.forms.AuthenticateForm(request=None, *args, **kwargs)[source]¶
Bases:
AuthenticationForm
Implements a login form.
- username¶
The username text field.
- password¶
The password text field.
Form fields:
username
: Username (CharField
)password
: Password (CharField
)otp_token
: Otp Token (CharField
)trust_device
: Remember me (BooleanField
)
Methods
clean
Validates the username and password in the form.
Attributes
media