From 17bd97be1f91070ecf52c2c9e194d05aa76d4504 Mon Sep 17 00:00:00 2001 From: Vahe Hovhannisyan Date: Tue, 5 Aug 2014 12:18:48 -0700 Subject: [PATCH] [FIX] Clear scope on logout --- src/js/controllers/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/controllers/app.js b/src/js/controllers/app.js index f9d8c2d5f..6cc7581d8 100644 --- a/src/js/controllers/app.js +++ b/src/js/controllers/app.js @@ -641,7 +641,7 @@ module.controller('AppCtrl', ['$rootScope', '$compile', 'rpId', 'rpNetwork', $scope.logout = function () { $id.logout(); - $location.path('/login'); + location.reload(); }; /**