mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-05-14 09:34:32 -04:00
add more debug
This commit is contained in:
@@ -41,6 +41,8 @@ bool ValidateAccess( User *user, int mon_id ) {
|
||||
if ( !allowed ) {
|
||||
Error( "Error, insufficient privileges for requested action" );
|
||||
exit( -1 );
|
||||
} else {
|
||||
Debug( 1, "User allowed.");
|
||||
}
|
||||
return( allowed );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user