mirror of
https://github.com/ansible/awx.git
synced 2026-02-26 15:36:04 -03:30
Add customLoginInfoIsHTML test
Signed-off-by: Philip Douglass <philip.douglass@amadeus.com>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user