@@ -233,21 +233,57 @@ public function retrieveLexiconPresetApps(): array {
233233 */
234234 private function getPresetApps (Preset $ preset ): array {
235235 return match ($ preset ) {
236- Preset::CLUB , Preset::FAMILY , Preset::SCHOOL , Preset:: SMALL , Preset:: MEDIUM
236+ Preset::CLUB , Preset::FAMILY , Preset::SCHOOL
237237 => [
238- 'enabled ' => ['user_status ' ,'guests ' ,'twofactor_backupcodes ' ,'twofactor_totp ' ,'twofactor_webauthn ' ],
238+ 'enabled ' => [
239+ 'user_status ' ,
240+ 'guests ' ,
241+ 'twofactor_backupcodes ' ,
242+ 'twofactor_totp ' ,
243+ 'twofactor_webauthn ' ,
244+ 'user_migration ' ,
245+ ],
239246 'disabled ' => []],
240- Preset::UNIVERSITY , Preset::LARGE
247+ Preset::SMALL , Preset::MEDIUM
248+ => [
249+ 'enabled ' => [
250+ 'user_status ' ,
251+ 'guests ' ,
252+ 'twofactor_backupcodes ' ,
253+ 'twofactor_totp ' ,
254+ 'twofactor_webauthn ' ,
255+ ],
256+ 'disabled ' => []],
257+ Preset::UNIVERSITY
258+ => [
259+ 'enabled ' => [
260+ 'user_status ' ,
261+ 'guests ' ,
262+ 'user_migration ' ,
263+ ],
264+ 'disabled ' => []],
265+ Preset::LARGE
241266 => [
242267 'enabled ' => ['user_status ' ,'guests ' ],
243268 'disabled ' => []],
244269 Preset::SHARED
245270 => [
246- 'enabled ' => ['external ' ,'twofactor_backupcodes ' ,'twofactor_totp ' ,'twofactor_webauthn ' ],
271+ 'enabled ' => [
272+ 'external ' ,
273+ 'twofactor_backupcodes ' ,
274+ 'twofactor_totp ' ,
275+ 'twofactor_webauthn ' ,
276+ 'user_migration ' ,
277+ ],
247278 'disabled ' => ['user_status ' ]],
248279 Preset::PRIVATE
249280 => [
250- 'enabled ' => ['twofactor_backupcodes ' ,'twofactor_totp ' ,'twofactor_webauthn ' ],
281+ 'enabled ' => [
282+ 'twofactor_backupcodes ' ,
283+ 'twofactor_totp ' ,
284+ 'twofactor_webauthn ' ,
285+ 'user_migration ' ,
286+ ],
251287 'disabled ' => []],
252288 default => ['enabled ' => [], 'disabled ' => []],
253289 };
0 commit comments