Bugfix + Eased up on Nexmo credential QA (left for upstream)

pull/261/head
Chris Caron 2020-07-27 22:04:24 -04:00
parent e54e4e7a07
commit 138c8ebf07
1 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ class NotifyNexmo(NotifyBase):
'name': _('API Key'),
'type': 'string',
'required': True,
'regex': (r'^AC[a-z0-9]{8}$', 'i'),
'regex': (r'^[a-z0-9]+$', 'i'),
'private': True,
},
'secret': {
@ -90,7 +90,7 @@ class NotifyNexmo(NotifyBase):
'type': 'string',
'private': True,
'required': True,
'regex': (r'^[a-z0-9]{16}$', 'i'),
'regex': (r'^[a-z0-9]+$', 'i'),
},
'from_phone': {
'name': _('From Phone No'),