Skip to content

Commit

Permalink
Fix flashMessage example for authorization errors
Browse files Browse the repository at this point in the history
`error_description` has been changed to `errorDescription` in auth0.js 8.0.0.
  • Loading branch information
adrogon authored Apr 17, 2018
1 parent 75f578e commit 82994f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion articles/libraries/lock/v11/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ lock.on('authorization_error', function(error) {
lock.show({
flashMessage: {
type: 'error',
text: error.error_description
text: error.errorDescription
}
});
});
Expand Down

0 comments on commit 82994f9

Please sign in to comment.