diff --git a/web/index.php b/web/index.php index 0bda75ad6..2569f2bb7 100644 --- a/web/index.php +++ b/web/index.php @@ -189,6 +189,8 @@ if ( ZM_OPT_USE_AUTH ) { userLogin($authUser['Username'], $authUser['Password'], true); } } + } else if ( isset($_REQUEST['username']) and isset($_REQUEST['password']) ) { + userLogin($_REQUEST['username'], $_REQUEST['password'], false); } if ( !empty($user) ) { // generate it once here, while session is open. Value will be cached in session and return when called later on