feat: do not autocomplete password when creating wallet (#38)

This commit is contained in:
Thebora Kompanioni 2022-02-01 23:29:53 +01:00 committed by GitHub
parent 5f1d6e97f8
commit 0db76d99dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -96,7 +96,13 @@ export default function CreateWallet({ currentWallet, startWallet }) {
</rb.Form.Group>
<rb.Form.Group className="mb-3" controlId="password">
<rb.Form.Label>Password</rb.Form.Label>
<rb.Form.Control name="password" type="password" style={{ maxWidth: '20em' }} required />
<rb.Form.Control
name="password"
type="password"
autoComplete="new-password"
style={{ maxWidth: '20em' }}
required
/>
<rb.Form.Control.Feedback type="invalid">Please set a password.</rb.Form.Control.Feedback>
</rb.Form.Group>
<rb.Button variant="dark" type="submit" disabled={isCreating}>