changes to app_token
This commit is contained in:
parent
5bda9e8d83
commit
4498be544b
7 changed files with 71 additions and 85 deletions
|
@ -35,6 +35,7 @@ class TOTPDeleteForm(FlaskForm):
|
|||
|
||||
class AppTokenForm(FlaskForm):
|
||||
name = StringField(gettext('name'), validators=[DataRequired(),Length(min=1, max=255) ])
|
||||
scopes = StringField(gettext('scopes'), validators=[DataRequired(),Length(min=1, max=255) ])
|
||||
submit = SubmitField(gettext('Activate'))
|
||||
|
||||
class AppTokenDeleteForm(FlaskForm):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue