Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/core/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion src/core/web_api/p2_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/ui/input/select_input.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default class SelectInput extends React.Component {
if (!label) className += ' auth0-lock-input-with-placeholder';

return (
<InputWrap focused={focused} isValid={isValid} name="location" icon={icon}>
<InputWrap focused={focused} isValid={isValid} name={name} icon={icon}>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should add a unit test for this change.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed and updated

<input
id={`${lockId}-${name}`}
type="button"
Expand Down
Loading