Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1380 from vhpoet/hotfix
Browse files Browse the repository at this point in the history
[FIX] Clear scope on logout
  • Loading branch information
yongsoo committed Aug 5, 2014
2 parents fb505d2 + 17bd97b commit 4a22ec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/controllers/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ module.controller('AppCtrl', ['$rootScope', '$compile', 'rpId', 'rpNetwork',

$scope.logout = function () {
$id.logout();
$location.path('/login');
location.reload();
};

/**
Expand Down

0 comments on commit 4a22ec5

Please sign in to comment.