Skip to content

Commit cba744d

Browse files
do a bit security for cryptpad
1 parent 8d651d8 commit cba744d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

charts/cryptpad/templates/configmap.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ data:
4242
* STORAGE
4343
* ===================== */
4444
45-
//inactiveTime: 90, // days
45+
inactiveTime: 1, // days
4646
//archiveRetentionTime: 15,
4747
//accountRetentionTime: 365,
4848
//disableIntegratedEviction: true,
@@ -83,5 +83,10 @@ data:
8383
AppConfig.supportLanguages = [ 'en', 'de' ];
8484
AppConfig.loginSalt = '{{ .Values.loginSalt }}'
8585
86+
// a bit security by obscurity
87+
AppConfig.registeredOnlyTypes = AppConfig.availablePadTypes;
88+
AppConfig.disableAnonymousStore = false;
89+
AppConfig.disableAnonymousPadCreation = false;
90+
8691
return AppConfig;
8792
});

0 commit comments

Comments
 (0)