Change logout event

This commit is contained in:
manzerbredes 2016-02-24 15:22:10 +01:00
parent 211ebb0e43
commit 5d8b904a32
3 changed files with 3 additions and 4 deletions

View file

@ -16,6 +16,7 @@ mainApp.controller('loginCtrl', ['$scope','$sce','Identity', function ($scope,$s
// Manager logout event
$scope.$on('logoutEvent', function(){
Identity.logout();
$('#loginModal').modal({backdrop: 'static', keyboard: false});
});