mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-09-08 11:26:15 -04:00
Totally revamped authentication for zms and zmu
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1226 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
1 parent
b8ed9e7f8e
commit
e56123b8c0
17 files changed
+486
-240
No files matched your search
@@ -30,7 +30,6 @@ if ( ZM_OPT_USE_AUTH )
|
||||
if ( isset( $_SESSION['user'] ) )
|
||||
{
|
||||
$user = $_SESSION['user'];
|
||||
define( "ZMU_COMMAND", ZMU_PATH." -U ".$_SESSION['username']." -P ".$_SESSION['password'] );
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -49,7 +48,6 @@ else
|
||||
"Monitors"=>'Edit',
|
||||
"System"=>'Edit',
|
||||
);
|
||||
define( "ZMU_COMMAND", ZMU_PATH );
|
||||
}
|
||||
|
||||
require_once( 'zm_lang.php' );
|
||||
|
||||
Reference in new issue
Block a user