realms-wiki/realms/modules/auth/ldap/forms.py

7 lines
242 B
Python
Raw Normal View History

2015-10-15 01:36:22 +03:00
from flask_wtf import Form
from wtforms import StringField, PasswordField, validators
class LoginForm(Form):
email = StringField('Email', [validators.DataRequired()])
password = PasswordField('Password', [validators.DataRequired()])