Change "Forgot Password" button's type to "button" (#797)

This commit is contained in:
kartikynwa 2020-06-10 20:42:53 +05:30 committed by GitHub
parent 13771d56cd
commit 36e8ce624c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"