mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 22:26:26 +08:00
FIX: Include missing search service on login modal (#24432)
This commit is contained in:
parent
1e0de818e6
commit
c55c354a13
|
@ -47,7 +47,7 @@
|
|||
@otherMethodAllowed={{this.otherMethodAllowed}}
|
||||
@showSecondFactor={{this.showSecondFactor}}
|
||||
@handleForgotPassword={{this.handleForgotPassword}}
|
||||
@login={{this.login}}
|
||||
@login={{this.triggerLogin}}
|
||||
@flashChanged={{this.flashChanged}}
|
||||
@flashTypeChanged={{this.flashTypeChanged}}
|
||||
@securityKeyCredentialChanged={{this.securityKeyCredentialChanged}}
|
||||
|
@ -55,7 +55,7 @@
|
|||
<Modal::Login::Footer
|
||||
@canLoginLocal={{this.canLoginLocal}}
|
||||
@showSecurityKey={{this.showSecurityKey}}
|
||||
@login={{this.login}}
|
||||
@login={{this.triggerLogin}}
|
||||
@loginButtonLabel={{this.loginButtonLabel}}
|
||||
@loginDisabled={{this.loginDisabled}}
|
||||
@showSignupLink={{this.showSignupLink}}
|
||||
|
|
|
@ -23,6 +23,7 @@ export default class Login extends Component {
|
|||
@service dialog;
|
||||
@service siteSettings;
|
||||
@service site;
|
||||
@service login;
|
||||
|
||||
@tracked loggingIn = false;
|
||||
@tracked loggedIn = false;
|
||||
|
@ -173,7 +174,7 @@ export default class Login extends Component {
|
|||
}
|
||||
|
||||
@action
|
||||
async login() {
|
||||
async triggerLogin() {
|
||||
if (this.loginDisabled) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user