mirror of
https://github.com/ansible/awx.git
synced 2026-05-10 02:47:36 -02:30
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:
@@ -14,6 +14,7 @@ base_inputs = {
|
||||
'id': 'url',
|
||||
'label': _('Server URL'),
|
||||
'type': 'string',
|
||||
'format': 'url',
|
||||
'help_text': _('The URL to the HashiCorp Vault'),
|
||||
}, {
|
||||
'id': 'token',
|
||||
|
||||
Reference in New Issue
Block a user