mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 15:21:13 +03:00
AC-301 attempting to prevent content flash between logins
This commit is contained in:
parent
1c84e8a56a
commit
7a10199a1e
@ -68,7 +68,7 @@ angular.module('AuthService', ['ngCookies'])
|
||||
logout: function() {
|
||||
// the following puts our primary scope up for garbage collection, which
|
||||
// should prevent content flash from the prior user.
|
||||
var scope = angular.element(getElementById('main-view')).scope();
|
||||
var scope = angular.element(document.getElementById('main-view')).scope();
|
||||
scope.$destroy();
|
||||
|
||||
// but just in case, clear the organization bits
|
||||
|
Loading…
Reference in New Issue
Block a user