From 8acbf54a870c232b2232bfab54daaabe5581eccc Mon Sep 17 00:00:00 2001 From: Jos Poortvliet Date: Fri, 6 Mar 2026 17:15:21 +0100 Subject: [PATCH] feat: Add 'user_migration' to relevant quick presets closes https://github.com/nextcloud/server/issues/57406 Signed-off-by: Jos Poortvliet --- lib/private/Config/PresetManager.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/private/Config/PresetManager.php b/lib/private/Config/PresetManager.php index e35f193b2ca..c75212b7156 100644 --- a/lib/private/Config/PresetManager.php +++ b/lib/private/Config/PresetManager.php @@ -243,11 +243,15 @@ class PresetManager { 'disabled' => []], Preset::SHARED => [ - 'enabled' => ['external','twofactor_backupcodes','twofactor_totp','twofactor_webauthn'], + 'enabled' => ['external','twofactor_backupcodes','twofactor_totp','twofactor_webauthn', 'user_migration'], 'disabled' => ['user_status']], Preset::PRIVATE => [ - 'enabled' => ['twofactor_backupcodes','twofactor_totp','twofactor_webauthn'], + 'enabled' => ['twofactor_backupcodes','twofactor_totp','twofactor_webauthn', 'user_migration'], + 'disabled' => []], + Preset::CLUB, Preset::FAMILY, Preset::SCHOOL, Preset::UNIVERSITY, + => [ + 'enabled' => ['user_migration'], 'disabled' => []], default => ['enabled' => [], 'disabled' => []], };