mirror of
https://github.com/flarum/framework.git
synced 2025-05-23 07:09:57 +08:00
Fix replying when not logged in
This commit is contained in:
@ -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)
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user