Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
fix(auth0): Fix auth rejection for non severe errors
Browse files Browse the repository at this point in the history
  • Loading branch information
pfurini committed Oct 17, 2016
1 parent 447003f commit 9a91ef2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/authLock.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export class AuthLock {
access_token: authResponse.idToken
});
});
this.lock.on('authorization_error', err => {
this.lock.on('unrecoverable_error', err => {
reject(err);
});
this.lock.show();
Expand Down

0 comments on commit 9a91ef2

Please sign in to comment.