mirror of
https://github.com/ziirish/burp-ui.git
synced 2026-05-21 06:45:24 -06:00
10 lines
358 B
Python
10 lines
358 B
Python
# -*- coding: utf8 -*-
|
|
|
|
from flask.ext.wtf import Form
|
|
from wtforms import TextField, PasswordField, BooleanField, validators
|
|
|
|
|
|
class LoginForm(Form):
|
|
username = TextField('Username', [validators.Length(min=2, max=25)])
|
|
password = PasswordField('Password', [validators.Required()])
|
|
remember = BooleanField('Remember me', [validators.Optional()])
|