mirror of
https://github.com/ziirish/burp-ui.git
synced 2026-05-21 06:45:24 -06:00
add: limiter extension to allow rate-limit the API
This commit is contained in:
parent
3692887d80
commit
12100ff884
9 changed files with 154 additions and 20 deletions
|
|
@ -15,7 +15,7 @@ from wtforms import TextField, PasswordField, BooleanField, SelectField, validat
|
|||
|
||||
|
||||
class LoginForm(FlaskForm):
|
||||
username = TextField(__('Username'), [validators.Length(min=2, max=25)])
|
||||
username = TextField(__('Username'), [validators.Required()])
|
||||
password = PasswordField(__('Password'), [validators.Required()])
|
||||
language = SelectField(__('Language'), choices=LANGUAGES.items(), default=get_locale)
|
||||
remember = BooleanField(__('Remember me'), [validators.Optional()])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue