mirror of
https://github.com/flarum/framework.git
synced 2024-12-11 21:43:38 +08:00
Fix replying when not logged in
This commit is contained in:
parent
1a83c6df4f
commit
c241d5fd0a
|
@ -20,7 +20,7 @@ export default function(app) {
|
||||||
} else if (!app.session.user()) {
|
} else if (!app.session.user()) {
|
||||||
app.modal.show(new LoginModal({
|
app.modal.show(new LoginModal({
|
||||||
message: 'You must be logged in to do that.',
|
message: 'You must be logged in to do that.',
|
||||||
callback: this.replyAction.bind(this)
|
callback: replyAction.bind(this)
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user