Change logout event
This commit is contained in:
parent
211ebb0e43
commit
5d8b904a32
3 changed files with 3 additions and 4 deletions
|
@ -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});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue