AuthenticateForm¶
Qualified name: intranet.apps.auth.forms.AuthenticateForm
- class intranet.apps.auth.forms.AuthenticateForm(request=None, *args, **kwargs)[source]¶
Bases:
AuthenticationFormImplements 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
cleanValidates the username and password in the form.
Attributes
media