nextcloud,auth: disable integration with Kanidm when sso is disabled
This commit is contained in:
@@ -413,5 +413,12 @@ in
|
||||
};
|
||||
};
|
||||
})
|
||||
(lib.mkIf (! is-auth-enabled) {
|
||||
systemd.services.nextcloud-setup = {
|
||||
script = ''
|
||||
${occ} app:disable user_oidc
|
||||
'';
|
||||
};
|
||||
})
|
||||
]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user