You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -34,6 +36,17 @@ public function getAppConfigs(): array {
34
36
definition: 'adds share permission to public shares to allow adding them to your Nextcloud (federation)',
35
37
lazy: true,
36
38
),
39
+
newEntry(
40
+
key: self::SHARE_CUSTOM_TOKEN,
41
+
type: ValueType::BOOL,
42
+
defaultRaw: fn (Preset$p): bool => match ($p) {
43
+
Preset::FAMILY, Preset::PRIVATE => true,
44
+
default => false,
45
+
},
46
+
definition: 'Allow users to set custom share link tokens',
47
+
lazy: true,
48
+
note: 'Shares with guessable tokens may be accessed easily. Shares with custom tokens will continue to be accessible after this setting has been disabled.',
0 commit comments