mirror of
https://github.com/TakeusV1/flask_ipam.git
synced 2026-10-13 17:15:33 +02:00
7 lines
305 B
Python
7 lines
305 B
Python
from flask_wtf import FlaskForm
|
|
from wtforms import StringField, PasswordField
|
|
from wtforms.validators import DataRequired, Length
|
|
|
|
class LoginForm(FlaskForm):
|
|
username = StringField(validators=[DataRequired(),Length(max=128)])
|
|
password = PasswordField(validators=[DataRequired(),Length(max=128)]) |