Skip to content

Commit

Permalink
Added argument passing to invalidate method
Browse files Browse the repository at this point in the history
  • Loading branch information
leuprechtroman committed Feb 1, 2017
1 parent 6904261 commit d985ff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/internal-session.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default ObjectProxy.extend(Evented, {
assert('Session#invalidate requires the session to be authenticated!', this.get('isAuthenticated'));

let authenticator = this._lookupAuthenticator(this.authenticator);
return authenticator.invalidate(this.content.authenticated).then(() => {
return authenticator.invalidate(this.content.authenticated, ...arguments).then(() => {
authenticator.off('sessionDataUpdated');
this._busy = false;
return this._clear(true);
Expand Down

0 comments on commit d985ff8

Please sign in to comment.