Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit ecbc9ac

Browse files
authored
updating logout to resolve promise
1 parent 2bcfc00 commit ecbc9ac

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/services/tcAuth.service.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ import { getCurrentUser, logout as doLogout } from './userv3.service.js'
1919
// logout of all browsers
2020
return doLogout().then(function() {
2121
$rootScope.$broadcast(CONSTANTS.EVENT_USER_LOGGED_OUT)
22+
// resolve the promise
23+
return true
2224
})
2325
}
2426

0 commit comments

Comments
 (0)