mirror of
https://github.com/ansible/awx.git
synced 2026-02-24 22:46:01 -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.customLoginInfo = $AnsibleConfig.custom_login_info;
|
||||||
scope.customLoginInfoPresent = (scope.customLoginInfo) ? true : false;
|
scope.customLoginInfoPresent = (scope.customLoginInfo) ? true : false;
|
||||||
|
scope.customLoginInfoIsHTML = /<\/?[a-z][\s\S]*>/i.test(scope.customLoginInfo);
|
||||||
});
|
});
|
||||||
|
|
||||||
if (scope.removeAuthorizationGetLicense) {
|
if (scope.removeAuthorizationGetLicense) {
|
||||||
|
|||||||
Reference in New Issue
Block a user