mirror of
https://github.com/ansible/awx.git
synced 2026-02-03 02:28:12 -03:30
Merge pull request #5268 from jaredevantabor/4966-license-info-of-undefined
Cannot find "license_info" of undefined
This commit is contained in:
@@ -549,8 +549,11 @@ var tower = angular.module('Tower', [
|
|||||||
Authorization.restoreUserInfo(); //user must have hit browser refresh
|
Authorization.restoreUserInfo(); //user must have hit browser refresh
|
||||||
}
|
}
|
||||||
if (next && (next.name !== "signIn" && next.name !== "signOut" && next.name !== "license")) {
|
if (next && (next.name !== "signIn" && next.name !== "signOut" && next.name !== "license")) {
|
||||||
// if not headed to /login or /logout, then check the license
|
if($rootScope.configReady === true){
|
||||||
CheckLicense.test(event);
|
// if not headed to /login or /logout, then check the license
|
||||||
|
CheckLicense.test(event);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
activateTab();
|
activateTab();
|
||||||
|
|||||||
Reference in New Issue
Block a user