mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-01-03 12:09:16 +00:00
[Web, Dovecot] Allow to define scope of services for app passwords
This commit is contained in:
@@ -11,7 +11,7 @@ $template = 'edit.twig';
|
||||
$template_data = [];
|
||||
$result = null;
|
||||
if (isset($_SESSION['mailcow_cc_role'])) {
|
||||
if ($_SESSION['mailcow_cc_role'] == "admin" || $_SESSION['mailcow_cc_role'] == "domainadmin") {
|
||||
if ($_SESSION['mailcow_cc_role'] == "admin" || $_SESSION['mailcow_cc_role'] == "domainadmin") {
|
||||
if (isset($_GET["alias"]) &&
|
||||
!empty($_GET["alias"])) {
|
||||
$alias = html_entity_decode(rawurldecode($_GET["alias"]));
|
||||
|
||||
Reference in New Issue
Block a user