I'm hosting my own HackMD, and I don't want any other people to sign up on it. This means that non-registered people will only be able to read public notes, and nothing else (not even sign up). Would this be possible to implement?
you can set email to false and allowanonymous to false to disable ability to signin and guest usage.
but you also won't able to do anything, so register first then disable later.
@jackycute If HMD_EMAIL is set to false, that will also prevent myself from signing in, which renders the app unusable. I have disabled all external logins also.
Oh yes, you won't able to signin.
Actually I'm wondering how many people need this.
I'm suggesting separating the email login and registration functionalities, because right now, they're bound together. By separating, we could achieve what you mentioned earlier. Temporarily email registration to register yourself and disabling it later will solve this problem.
We need to consider about backwards capability, it's not ok to change current exist config.
But adding a disableemailregister is fine.
To keep the config naming consistency, will use allowemailregister instead.
Also if anyone need this enhancement please +1 or comment.
I find this to be somewhat related to https://github.com/hackmdio/hackmd/issues/272
Please check if this issue solved in #317
@ifvictr Hi, do you read us?
@jackycute Sorry I didn't see this earlier, I usually unsubscribe from repos I don't own, so I didn't get the notification (I only get them when @mentioned). Anyways, I tested it, and it works perfectly! Thanks! :smile:
No problem!
in docker 锛孒ow to config my docker-compose?? limit one user to use
in docker 锛孒ow to config my docker-compose?? limit one user to use
Maybe this can help.
environment:
- CMD_ALLOW_ANONYMOUS=false
- CMD_ALLOW_EMAIL_REGISTER=false
Most helpful comment
To keep the config naming consistency, will use
allowemailregisterinstead.Also if anyone need this enhancement please +1 or comment.