mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 02:50:02 -03:30
adding additional check to prevent race condition
This commit is contained in:
parent
32622add2c
commit
1edf2dc77f
@ -549,8 +549,11 @@ var tower = angular.module('Tower', [
|
||||
Authorization.restoreUserInfo(); //user must have hit browser refresh
|
||||
}
|
||||
if (next && (next.name !== "signIn" && next.name !== "signOut" && next.name !== "license")) {
|
||||
// if not headed to /login or /logout, then check the license
|
||||
CheckLicense.test(event);
|
||||
if($rootScope.configReady === true){
|
||||
// if not headed to /login or /logout, then check the license
|
||||
CheckLicense.test(event);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
activateTab();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user