require url scheme for credential type url inputs

This adds a url formatting type for credential input string fields
The validator for this formatting type will throw an error if the
provided url string doesn't have a url schema.
This commit is contained in:
Jake McDermott
2019-04-30 13:17:15 -04:00
parent 52276ebbab
commit 9737ab620c
6 changed files with 45 additions and 1 deletions

View File

@@ -15,6 +15,7 @@ aim_inputs = {
'id': 'url',
'label': _('CyberArk AIM URL'),
'type': 'string',
'format': 'url',
}, {
'id': 'app_id',
'label': _('Application ID'),