mirror of
https://github.com/flarum/core.git
synced 2025-10-11 23:14:29 +02:00
Improve appearance/behaviour of login/signup/forgot modals
This commit is contained in:
@@ -24,7 +24,6 @@ export default function(app) {
|
||||
return component;
|
||||
} else if (!app.session.user()) {
|
||||
app.modal.show(new LoginModal({
|
||||
message: 'You must be logged in to do that.',
|
||||
callback: () => app.current.one('loaded', this.replyAction.bind(this, goToLast, forceRefresh))
|
||||
}));
|
||||
}
|
||||
|
Reference in New Issue
Block a user