Skip to content

Commit

Permalink
Fix NewPasswordForm (passwords should not be lower-cased!)
Browse files Browse the repository at this point in the history
  • Loading branch information
srosset81 committed May 31, 2024
1 parent 793f935 commit a5116b6
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 12 deletions.
6 changes: 2 additions & 4 deletions src/frontend/packages/auth-provider/dist/index.cjs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/frontend/packages/auth-provider/dist/index.cjs.js.map

Large diffs are not rendered by default.

6 changes: 2 additions & 4 deletions src/frontend/packages/auth-provider/dist/index.es.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/frontend/packages/auth-provider/dist/index.es.js.map

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ const NewPasswordForm = ({ redirectTo, passwordScorer = defaultScorer }) => {
disabled={loading}
validate={[required(), validatePasswordStrength(passwordScorer)]}
onChange={e => setNewPassword(e.target.value)}
format={value => (value ? value.toLowerCase() : '')}
/>
<TextInput
autoFocus
Expand All @@ -108,7 +107,6 @@ const NewPasswordForm = ({ redirectTo, passwordScorer = defaultScorer }) => {
fullWidth
disabled={loading}
validate={required()}
format={value => (value ? value.toLowerCase() : '')}
/>
<Button
variant="contained"
Expand Down

0 comments on commit a5116b6

Please sign in to comment.