mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-22 00:49:23 -04:00
allow you to remove URL without removing bearer token
This commit is contained in:
@@ -829,9 +829,7 @@ class ServiceInboundNumberForm(StripWhitespaceForm):
|
||||
class CallbackForm(StripWhitespaceForm):
|
||||
|
||||
def validate(self):
|
||||
return super().validate() or (
|
||||
self.url.data == '' and self.bearer_token.data == ''
|
||||
)
|
||||
return super().validate() or self.url.data == ''
|
||||
|
||||
|
||||
class ServiceReceiveMessagesCallbackForm(CallbackForm):
|
||||
|
||||
Reference in New Issue
Block a user