Skip to content

Commit

Permalink
added missing var
Browse files Browse the repository at this point in the history
  • Loading branch information
amkirwan committed Jan 7, 2014
1 parent f1befdf commit b2c4aea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ember-oauth2/lib/ember.oauth2.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
onRedirect: function(hash, callback) {
var params = this.parseCallback(hash);
if (this.authSuccess(params)) {
stateObj = this.getState(params.state);
var stateObj = this.getState(params.state);
this.checkState(stateObj);
this.saveToken(this.generateToken(params));
this.onSuccess(stateObj);
Expand Down

0 comments on commit b2c4aea

Please sign in to comment.