1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00

fixed indefinite login on setup menu route

This commit is contained in:
John Mitchell 2015-06-16 17:41:52 -04:00
parent 4cd5d9ab23
commit dbd3cfb917

View File

@ -175,6 +175,7 @@ export function Authenticate($log, $cookieStore, $compile, $window, $rootScope,
Authorization.getLicense()
.success(function (data) {
Authorization.setLicense(data);
Wait("stop");
if (lastPath()) {
// Go back to most recent navigation path
$location.path(lastPath());