diff options
Diffstat (limited to '')
-rw-r--r-- | src/login/logind-polkit.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/login/logind-polkit.c b/src/login/logind-polkit.c index e4efd64..2f1523a 100644 --- a/src/login/logind-polkit.c +++ b/src/login/logind-polkit.c @@ -9,11 +9,8 @@ int check_polkit_chvt(sd_bus_message *message, Manager *manager, sd_bus_error *e #if ENABLE_POLKIT return bus_verify_polkit_async( message, - CAP_SYS_ADMIN, "org.freedesktop.login1.chvt", - NULL, - false, - UID_INVALID, + /* details= */ NULL, &manager->polkit_registry, error); #else |