Adding not allowed to password reset. Fixes #205

This commit is contained in:
Dessalines 2021-03-25 12:17:42 -04:00
parent f2e9617038
commit 34450857ee
2 changed files with 5 additions and 1 deletions

View file

@ -15,6 +15,10 @@
pointer-events: auto !important;
}
.not-allowed {
cursor: not-allowed;
}
.no-click {
pointer-events: none;
opacity: 0.65;

View file

@ -141,7 +141,7 @@ export class Login extends Component<any, State> {
<button
type="button"
onClick={linkEvent(this, this.handlePasswordReset)}
className="btn p-0 btn-link d-inline-block float-right text-muted small font-weight-bold pointer-events"
className="btn p-0 btn-link d-inline-block float-right text-muted small font-weight-bold pointer-events not-allowed"
disabled={!validEmail(this.state.loginForm.username_or_email)}
title={i18n.t("no_password_reset")}
>