realms-wiki/realms/modules/auth/ldap/forms.py
2015-11-22 11:19:11 -06:00

7 lines
245 B
Python

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