mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-28 01:08:27 -04:00
add more debug
This commit is contained in:
1 parent
00ef0f4d78
commit
48d9f31fa9
1 file changed
+2
@@ -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