From 82994f92865a6f5244d0d128481f44a14e6f6418 Mon Sep 17 00:00:00 2001 From: Anthony Drogon Date: Tue, 17 Apr 2018 11:58:17 +0100 Subject: [PATCH] Fix flashMessage example for authorization errors `error_description` has been changed to `errorDescription` in auth0.js 8.0.0. --- articles/libraries/lock/v11/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/articles/libraries/lock/v11/api.md b/articles/libraries/lock/v11/api.md index d26f45bdde..9dbf23c18c 100644 --- a/articles/libraries/lock/v11/api.md +++ b/articles/libraries/lock/v11/api.md @@ -143,7 +143,7 @@ lock.on('authorization_error', function(error) { lock.show({ flashMessage: { type: 'error', - text: error.error_description + text: error.errorDescription } }); });