mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 17:45:32 -04:00
Change bearer input to password
This commit is contained in:
@@ -657,9 +657,9 @@ class ServiceInboundApiForm(Form):
|
|||||||
Regexp(regex="^https.*",
|
Regexp(regex="^https.*",
|
||||||
message='Must be a valid https url')]
|
message='Must be a valid https url')]
|
||||||
)
|
)
|
||||||
bearer_token = StringField("Bearer token",
|
bearer_token = PasswordField("Bearer token",
|
||||||
validators=[DataRequired(message='Can’t be empty'),
|
validators=[DataRequired(message='Can’t be empty'),
|
||||||
Length(min=5, message='Must be at least 10 characters')])
|
Length(min=10, message='Must be at least 10 characters')])
|
||||||
|
|
||||||
|
|
||||||
def get_placeholder_form_instance(
|
def get_placeholder_form_instance(
|
||||||
|
|||||||
Reference in New Issue
Block a user