codimd icon indicating copy to clipboard operation
codimd copied to clipboard

Internal Server Error when trying to create a new note as anonymous user

Open ghost opened this issue 3 years ago • 0 comments
trafficstars

I installed the latest docker version together with apache. I use the options:

  - CMD_ALLOW_EMAIL_REGISTER=false
  - CMD_ALLOW_ANONYMOUS=false
  - CMD_DEFAULT_PERMISSION=private

I can still view the features note (which annoys me a lot [1]) and get the option "Create Note" in the top Toolbar. When i use it as an anonymous user i get an Internal Server Error aka the browser shows literally that and there seems to be some kind of crash in the logs. Id expect codi to handle the exception by telling the not logged in user that it cant do that without causing an Internal Server Error.

I seem to get the same error when trying to access a private note via link without having the permissions.

[1] Could anyone Tell me how i could get the landing page as empty as possible for users that are not logged in? Other people dont need to see the features or what software im using anyway. It just really annoys me to have this big showcase for codimd everytime someone visits my subdomain that i use for a private notepad.

Also would be nice to see default config values in the documentation

ghost avatar Dec 29 '21 23:12 ghost