diff --git a/framework/core/js/forum/src/components/LogInModal.js b/framework/core/js/forum/src/components/LogInModal.js index ab4818d32..ad839a863 100644 --- a/framework/core/js/forum/src/components/LogInModal.js +++ b/framework/core/js/forum/src/components/LogInModal.js @@ -117,10 +117,7 @@ export default class LogInModal extends Modal { const password = this.password(); app.session.login(email, password).then( - () => { - this.hide(); - if (this.props.onlogin) this.props.onlogin(); - }, + null, response => { this.loading = false;