From c9e2e79a4aeb6046032841fc051209b0ae84b0bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Hu=CC=88hne?= Date: Thu, 3 Aug 2023 13:43:10 +0200 Subject: [PATCH] fixed setting correct keys --- ownCloudAppFramework/AppLock Settings/AppLockSettings.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ownCloudAppFramework/AppLock Settings/AppLockSettings.m b/ownCloudAppFramework/AppLock Settings/AppLockSettings.m index 98525df12..bcd3de2f5 100644 --- a/ownCloudAppFramework/AppLock Settings/AppLockSettings.m +++ b/ownCloudAppFramework/AppLock Settings/AppLockSettings.m @@ -54,7 +54,7 @@ + (OCClassSettingsIdentifier)classSettingsIdentifier { return (@{ OCClassSettingsKeyPasscodeEnforced : @(NO), - OCClassSettingsKeyRequiredPasscodeDigits : @(NO), + OCClassSettingsKeyPasscodeEnforcedByDevice : @(NO), OCClassSettingsKeyRequiredPasscodeDigits : @(4), OCClassSettingsKeyMaximumPasscodeDigits : @(6), OCClassSettingsKeyPasscodeUseBiometricalUnlock : @(NO), @@ -83,7 +83,7 @@ + (OCClassSettingsMetadataCollection)classSettingsMetadata OCClassSettingsMetadataKeyCategory : @"Passcode" }, - OCClassSettingsKeyRequiredPasscodeDigits : @{ + OCClassSettingsKeyPasscodeEnforcedByDevice : @{ OCClassSettingsMetadataKeyType : OCClassSettingsMetadataTypeBoolean, OCClassSettingsMetadataKeyDescription : @"Controls wether the user MUST establish a passcode upon app installation, if NO device passcode protection is set.", OCClassSettingsMetadataKeyStatus : OCClassSettingsKeyStatusAdvanced,