We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 93471a3 + 0b56051 commit 2aa92c4Copy full SHA for 2aa92c4
app/scripts/services/CurrentUser.coffee
@@ -141,6 +141,7 @@ angular.module('neo4jApp.services')
141
logout: ->
142
$rootScope.currentUser = null
143
NTN.logout()
144
+ @store.unauth()
145
localStorageService.remove 'ntn_token'
146
localStorageService.remove 'ntn_data_token'
147
localStorageService.remove 'ntn_refresh_token'
app/scripts/services/NTN.coffee
@@ -118,7 +118,7 @@ angular.module('neo4jApp.services')
118
119
auth.signout()
120
_unbind()
121
- _sync_object = {}
+ _sync_object.$destroy()
122
authenticate: (profile, token) ->
123
auth.authenticate(profile, token).then(-> _unbind())
124
isAuthenticated: -> auth.isAuthenticated
0 commit comments