Merge pull request #628 from ZoneMinder/fix_console_auth
fix auth requirement on view=console by checking for user when AUTH is on
This commit is contained in:
commit
9d9396c8bc
|
@ -18,6 +18,11 @@
|
|||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
//
|
||||
|
||||
if ( ZM_OPT_USE_AUTH && ! isset($user) ) {
|
||||
$view = "error";
|
||||
return;
|
||||
}
|
||||
|
||||
$eventCounts = array(
|
||||
array(
|
||||
"title" => $SLANG['Events'],
|
||||
|
|
Loading…
Reference in New Issue