Restricting guest access
-
Hi! Has anyone successfully restricted guest access to the CryptPad? I tried to follow the documentation and adding this line: AppConfig.registeredOnlyTypes = AppConfig.availablePadTypes; I tried both to add it in config.js file, and to create a file in the customize folder, as explained in the documentation of CryptPad. But nothing works. So I guess I'm doing something wrong

-
I was using the File manager, and I did not understand the documentation very well. In case anyone has trouble doing this, use the terminal for CryptPad and copy the necessary file using:
cp /app/code/www/common/application_config_internal.js /app/data/customize/application_config.jsThen you can use the File manager to edit the application_config.js file. It is in the customize folder when you open the File manager

-
I am trying to restrict guest access with Cloudron 10.0.4 and Cryptpad 2026.5.1. I cannot follow the Cryptpad instructions from @girish 's link above because they refer to the files
customize.dist/application_config.jsandwww/common/application_config_internal.jsbut neither of these seem to exist, nor their directories:$ ls app/ blob block config.js customize data datastore sso.js $ cd app/ && find . -name "*application_config*" <no output>Can anyone help me here?
-
Thank you! FWIW, my issue was caused by using ssh to navigate the app's data directory on my server, when I needed to be using the Web Terminal.
I added all three of these lines:
AppConfig.registeredOnlyTypes = AppConfig.availablePadTypes; AppConfig.disableAnonymousPadCreation = true; AppConfig.disableAnonymousStore = true;
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
