mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 18:09:57 -03:30
Add customLoginInfoIsHTML test
Signed-off-by: Philip Douglass <philip.douglass@amadeus.com>
This commit is contained in:
parent
29666bf3b6
commit
202a68aca0
@ -88,6 +88,7 @@ export default ['$log', '$cookies', '$rootScope', 'ProcessErrors',
|
||||
}
|
||||
scope.customLoginInfo = $AnsibleConfig.custom_login_info;
|
||||
scope.customLoginInfoPresent = (scope.customLoginInfo) ? true : false;
|
||||
scope.customLoginInfoIsHTML = /<\/?[a-z][\s\S]*>/i.test(scope.customLoginInfo);
|
||||
});
|
||||
|
||||
if (scope.removeAuthorizationGetLicense) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user