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

10 lines
286 B
Python

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