chore: Follow up sso for desktop

This commit is contained in:
Krille 2023-03-26 11:20:54 +02:00
parent f61c96c9be
commit e838253ba6

View file

@ -112,10 +112,7 @@ abstract class ClientManager {
databaseBuilder: FlutterHiveCollectionsDatabase.databaseBuilder,
supportedLoginTypes: {
AuthenticationTypes.password,
if (PlatformInfos.isMobile ||
PlatformInfos.isWeb ||
PlatformInfos.isMacOS)
AuthenticationTypes.sso
AuthenticationTypes.sso,
},
nativeImplementations: nativeImplementations,
customImageResizer: PlatformInfos.isMobile ? customImageResizer : null,