]> Untitled Git - lemmy.git/commitdiff
Change "Forgot Password" button's type to "button" (#797)
authorkartikynwa <kartik.ynwa@gmail.com>
Wed, 10 Jun 2020 15:12:53 +0000 (20:42 +0530)
committerGitHub <noreply@github.com>
Wed, 10 Jun 2020 15:12:53 +0000 (11:12 -0400)
ui/src/components/login.tsx

index 84014f68c577689f06ae2d725fe0ff8ee5a5d2ae..ce04d0d4f98ab4a664dd08264ed93ea80a91d9fb 100644 (file)
@@ -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"