Skip to content
This repository has been archived by the owner on Oct 8, 2019. It is now read-only.

Commit

Permalink
fix(.com): ensure digest is triggered after receiving event
Browse files Browse the repository at this point in the history
  • Loading branch information
Thore3 committed Jun 18, 2018
1 parent 64f6969 commit 4882da4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/js/controllers/login.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ function LoginCtrl ($scope, $rootScope, $window, localStorageService, $state, $s
$scope.showMobileLogin = env.showMobileLogin;
});

$scope.$on(ComMigration.events.TRANSFERRED_COOKIES, () => {
$scope.$on(ComMigration.events.TRANSFERRED_COOKIES, () => $timeout(() => {
let guid = localStorageService.get('guid')
if (guid != null) $scope.uid = guid
})
}))
}

0 comments on commit 4882da4

Please sign in to comment.