mirror of
https://github.com/janishutz/libreevent.git
synced 2025-11-25 21:34:24 +00:00
prepare for rewrite of ticket counting
This commit is contained in:
@@ -30,7 +30,7 @@ module.exports = ( app, settings ) => {
|
||||
}
|
||||
res.send( dat );
|
||||
} else if ( req.params.call === 'reloadData' ) {
|
||||
if ( req.session.loggedInAdmin ) {
|
||||
if ( req.session.loggedInAdmin || req.session.loggedInUser ) {
|
||||
postHandler.loadData();
|
||||
res.send( 'ok' );
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user