diff --git a/src/core/actions.js b/src/core/actions.js index abdcabb2c..c5cb85e5b 100644 --- a/src/core/actions.js +++ b/src/core/actions.js @@ -242,7 +242,8 @@ function logInError(id, fields, error, localHandler = (_id, _error, _fields, nex 'rule_error', 'lock.unauthorized', 'invalid_user_password', - 'login_required' + 'login_required', + 'too_many_attempts' ]; if (errorCodesThatEmitAuthorizationErrorEvent.indexOf(errorCode) > -1) { diff --git a/src/core/web_api/p2_api.js b/src/core/web_api/p2_api.js index 7efd5a926..31782cf43 100644 --- a/src/core/web_api/p2_api.js +++ b/src/core/web_api/p2_api.js @@ -40,7 +40,7 @@ class Auth0APIClient { responseMode: opts.responseMode, responseType: opts.responseType, leeway: opts.leeway || 60, - plugins: opts.plugins || [new CordovaAuth0Plugin()], + plugins: opts.plugins || (typeof CordovaAuth0Plugin === 'function' ? [new CordovaAuth0Plugin()] : []), overrides: webAuthOverrides(opts.overrides), _sendTelemetry: opts._sendTelemetry === false ? false : true, _telemetryInfo: telemetry, diff --git a/src/ui/input/select_input.jsx b/src/ui/input/select_input.jsx index 5fab5dcb8..4f28d2ee6 100644 --- a/src/ui/input/select_input.jsx +++ b/src/ui/input/select_input.jsx @@ -56,7 +56,7 @@ export default class SelectInput extends React.Component { if (!label) className += ' auth0-lock-input-with-placeholder'; return ( - +