mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-22 12:21:13 +00:00
Adding not allowed to password reset. Fixes #205
This commit is contained in:
parent
f2e9617038
commit
34450857ee
2 changed files with 5 additions and 1 deletions
|
@ -15,6 +15,10 @@
|
|||
pointer-events: auto !important;
|
||||
}
|
||||
|
||||
.not-allowed {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.no-click {
|
||||
pointer-events: none;
|
||||
opacity: 0.65;
|
||||
|
|
|
@ -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")}
|
||||
>
|
||||
|
|
Loading…
Reference in a new issue