Change "Forgot Password" button's type to "button" (#797)
This commit is contained in:
parent
13771d56cd
commit
36e8ce624c
1 changed files with 1 additions and 0 deletions
1
ui/src/components/login.tsx
vendored
1
ui/src/components/login.tsx
vendored
|
@ -111,6 +111,7 @@ export class Login extends Component<any, State> {
|
||||||
required
|
required
|
||||||
/>
|
/>
|
||||||
<button
|
<button
|
||||||
|
type="button"
|
||||||
disabled={!validEmail(this.state.loginForm.username_or_email)}
|
disabled={!validEmail(this.state.loginForm.username_or_email)}
|
||||||
onClick={linkEvent(this, this.handlePasswordReset)}
|
onClick={linkEvent(this, this.handlePasswordReset)}
|
||||||
className="btn p-0 btn-link d-inline-block float-right text-muted small font-weight-bold"
|
className="btn p-0 btn-link d-inline-block float-right text-muted small font-weight-bold"
|
||||||
|
|
Loading…
Reference in a new issue