"Spell-Jacking" mitigation ~ prevent sensitive data leak from spell checker. (#2091)
@see https://www.otto-js.com/news/article/chrome-and-edge-enhanced-spellcheck-features-expose-pii-even-your-passwords Co-authored-by: Daniel Hammer <daniel.hammer+oss@gmail.com>
This commit is contained in:
@@ -138,6 +138,7 @@ const FormLogin = ({ loading, handleSubmit, validate }) => {
|
||||
component={renderInput}
|
||||
label={translate('ra.auth.username')}
|
||||
disabled={loading}
|
||||
spellCheck={false}
|
||||
/>
|
||||
</div>
|
||||
<div className={classes.input}>
|
||||
@@ -201,6 +202,7 @@ const FormSignUp = ({ loading, handleSubmit, validate }) => {
|
||||
component={renderInput}
|
||||
label={translate('ra.auth.username')}
|
||||
disabled={loading}
|
||||
spellCheck={false}
|
||||
/>
|
||||
</div>
|
||||
<div className={classes.input}>
|
||||
|
||||
Reference in New Issue
Block a user