mirror of https://github.com/MISP/misp-modules
14 lines
349 B
Python
14 lines
349 B
Python
from flask_wtf import FlaskForm
|
|
from wtforms.fields import (
|
|
BooleanField,
|
|
PasswordField,
|
|
SubmitField
|
|
)
|
|
from wtforms.validators import InputRequired
|
|
|
|
|
|
class LoginForm(FlaskForm):
|
|
password = PasswordField('Password', validators=[InputRequired()])
|
|
remember_me = BooleanField('Keep me logged in')
|
|
submit = SubmitField('Log in')
|