realms-wiki/realms/modules/auth/ldap/forms.py
2015-10-14 17:36:22 -05:00

7 lines
242 B
Python

from flask_wtf import Form
from wtforms import StringField, PasswordField, validators
class LoginForm(Form):
email = StringField('Email', [validators.DataRequired()])
password = PasswordField('Password', [validators.DataRequired()])