mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-17 05:18:45 -04:00
improve the output of the ajaxError to say what the action was and who the user was
This commit is contained in:
@@ -155,5 +155,5 @@ if ( canEdit('Events') ) {
|
||||
} // end switch action
|
||||
} // end if canEdit('Events')
|
||||
|
||||
ajaxError('Unrecognised action or insufficient permissions');
|
||||
ajaxError('Unrecognised action '.$_REQUEST['action'].' or insufficient permissions for user ' . $user['Username']);
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user