hawat.blueprints.auth_pwd.forms module

This module contains custom developer login form for Hawat.

class hawat.blueprints.auth_pwd.forms.LoginForm(formdata=<object object>, **kwargs)[source]

Bases: flask_wtf.form.FlaskForm

Class representing classical password authentication login form.

cancel = <UnboundField(SubmitField, (l'Cancel',), {})>
login = <UnboundField(StringField, (l'Login:',), {'validators': [<wtforms.validators.DataRequired object>, <wtforms.validators.Length object>, <function check_login>]})>
password = <UnboundField(PasswordField, (l'Password:',), {'validators': [<wtforms.validators.DataRequired object>, <wtforms.validators.Length object>]})>
submit = <UnboundField(SubmitField, (l'Login',), {})>