Open registration
-
So after looking at the postiz code itself, it turns out they only check for existance of that environment variable. So if
export DISABLE_REGISTRATION=whatevervalueis in the .sh config file, registration is disabled.To enable it, remove that line or comment it out (prepending a # on that line). Then restart the app.
-
N nebulon marked this topic as a question on
-
N nebulon has marked this topic as solved on
-
So after looking at the postiz code itself, it turns out they only check for existance of that environment variable. So if
export DISABLE_REGISTRATION=whatevervalueis in the .sh config file, registration is disabled.To enable it, remove that line or comment it out (prepending a # on that line). Then restart the app.
-
The
envfile used to be calledenv.shbut got renamed since then to not use .sh extension to match the other apps.@nebulon said in Open registration:
The env file used to be called env.sh but got renamed since then to not use .sh extension to match the other apps.
Adding to that, this also means
exportis no longer needed in the/app/data/envfile.
So you can just do:DISABLE_REGISTRATION=false
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