summaryrefslogtreecommitdiffstats
path: root/ui/src/components/login.tsx
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2020-05-12 14:36:22 -0400
committerDessalines <tyhou13@gmx.com>2020-05-12 14:36:22 -0400
commit913383ca759c10004430c79f95985d6bc2fe1866 (patch)
tree3edff60eae3cf3e04b050cc19c0ba3312d93e374 /ui/src/components/login.tsx
parentc22310bdaf0d289e83a99aa34e1c015c7078b10e (diff)
Removing autocomplete for register and user settings password fields.
- Fixes #708
Diffstat (limited to 'ui/src/components/login.tsx')
-rw-r--r--ui/src/components/login.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/src/components/login.tsx b/ui/src/components/login.tsx
index 581c4995..84014f68 100644
--- a/ui/src/components/login.tsx
+++ b/ui/src/components/login.tsx
@@ -187,6 +187,7 @@ export class Login extends Component<any, State> {
type="password"
id="register-password"
value={this.state.registerForm.password}
+ autoComplete="new-password"
onInput={linkEvent(this, this.handleRegisterPasswordChange)}
class="form-control"
required
@@ -206,6 +207,7 @@ export class Login extends Component<any, State> {
type="password"
id="register-verify-password"
value={this.state.registerForm.password_verify}
+ autoComplete="new-password"
onInput={linkEvent(this, this.handleRegisterPasswordVerifyChange)}
class="form-control"
required