summaryrefslogtreecommitdiffstats
path: root/ui/src/components/login.tsx
diff options
context:
space:
mode:
authorkartikynwa <kartik.ynwa@gmail.com>2020-06-10 20:42:53 +0530
committerGitHub <noreply@github.com>2020-06-10 11:12:53 -0400
commit36e8ce624c86546af9e833a96d9ff645d2450617 (patch)
treea53445ad3e874107043ab58ce7444c686bb4b9ad /ui/src/components/login.tsx
parent13771d56cd948addc93569dcf7a67d7641bbd747 (diff)
Change "Forgot Password" button's type to "button" (#797)
Diffstat (limited to 'ui/src/components/login.tsx')
-rw-r--r--ui/src/components/login.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/src/components/login.tsx b/ui/src/components/login.tsx
index 84014f68..ce04d0d4 100644
--- a/ui/src/components/login.tsx
+++ b/ui/src/components/login.tsx
@@ -111,6 +111,7 @@ export class Login extends Component<any, State> {
required
/>
<button
+ type="button"
disabled={!validEmail(this.state.loginForm.username_or_email)}
onClick={linkEvent(this, this.handlePasswordReset)}
className="btn p-0 btn-link d-inline-block float-right text-muted small font-weight-bold"