Enable autodiscover to work with app passwords (#4516)

Fixes #4513
This commit is contained in:
Michael Kuron 2022-03-22 19:41:34 +01:00 committed by GitHub
parent deac5ad2fe
commit e911452d0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ if (empty($_SERVER['PHP_AUTH_USER']) || empty($_SERVER['PHP_AUTH_PW'])) {
exit(0);
}
$login_role = check_login($login_user, $login_pass, true);
$login_role = check_login($login_user, $login_pass, array('eas' => TRUE));
if ($login_role === "user") {
header("Content-Type: application/xml");