mirror of
https://github.com/flarum/core.git
synced 2025-10-12 23:44:27 +02:00
Show composer after discussion is reloaded following login
This commit is contained in:
@@ -25,7 +25,7 @@ export default function(app) {
|
||||
} else if (!app.session.user()) {
|
||||
app.modal.show(new LoginModal({
|
||||
message: 'You must be logged in to do that.',
|
||||
callback: this.replyAction.bind(this)
|
||||
callback: () => app.current.one('loaded', this.replyAction.bind(this, goToLast, forceRefresh))
|
||||
}));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user