mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-22 14:34:26 -04:00
After login go to postlogin, not console. the login view is in a popup so we want to close
This commit is contained in:
1 parent
d575403900
commit
b24b930f65
1 file changed
+1
-1
@@ -28,7 +28,7 @@ if ( $action == 'login' && isset($_REQUEST['username']) && ( ZM_AUTH_TYPE == 're
|
||||
if ( !$user ) {
|
||||
$view = 'login';
|
||||
} else {
|
||||
$view = 'console';
|
||||
$view = 'postlogin';
|
||||
$redirect = ZM_BASE_URL.$_SERVER['PHP_SELF'].'?view=console';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user