mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-05-16 12:31:45 +00:00
[Web] Allow admins to limit EAS and DAV access for mailbox users
This commit is contained in:
@@ -79,7 +79,7 @@ if (empty($_SERVER['PHP_AUTH_USER']) || empty($_SERVER['PHP_AUTH_PW'])) {
|
||||
exit(0);
|
||||
}
|
||||
|
||||
$login_role = check_login($login_user, $login_pass, array('eas' => TRUE));
|
||||
$login_role = check_login($login_user, $login_pass, array('service' => 'EAS'));
|
||||
|
||||
if ($login_role === "user") {
|
||||
header("Content-Type: application/xml");
|
||||
|
||||
Reference in New Issue
Block a user