postiz-app icon indicating copy to clipboard operation
postiz-app copied to clipboard

Signup page remains disabled even though DISABLE_REGISTRATION is false

Open lucian-duta opened this issue 7 months ago β€’ 2 comments

πŸ“œ Description

After setting DISABLE_REGISTRATION=false in my env file and restarting, the signup page still does not render.

πŸ‘Ÿ Reproduction steps

  1. Remove any inline DISABLE_REGISTRATION from docker-compose.yml and add an env_file: ./postiz.env entry.

  2. In postiz.env, set:

    DISABLE_REGISTRATION=false
    
  3. Run:

    docker-compose down && docker-compose up -d
    
  4. Confirm inside the container:

    docker-compose exec postiz sh -c 'echo DISABLE_REGISTRATION=$DISABLE_REGISTRATION'
    # prints "false"
    
  5. Visit https://postiz.site.com/signup β€” the page still shows β€œNot found” / hides the form.

πŸ‘ Expected behavior

With DISABLE_REGISTRATION=false, the signup form should be available for new users at /signup.

πŸ‘Ž Actual Behavior with Screenshots

The /signup route remains inaccessible and the UI hides the registration form entirely, despite the flag being false.

πŸ’» Operating system

Linux

πŸ€– Node Version

(used inside the Docker image)

πŸ“ƒ Provide any additional context for the Bug.

  • I have cleared browser cache and tried in incognito mode.
  • Other env vars (e.g. JWT_SECRET, API keys) are loading correctly.
  • The Postiz docs don’t mention a separate frontend flag for registration, so I did not set anything else.

πŸ‘€ Have you spent some time to check if this bug has been raised before?

  • [x] I checked and didn't find similar issue

Are you willing to submit PR?

None

lucian-duta avatar May 08 '25 10:05 lucian-duta

Remove the env entirely, known bug.

egelhaus avatar May 08 '25 13:05 egelhaus

Env variable*

egelhaus avatar May 08 '25 13:05 egelhaus

Code uses DISABLE_REGISTRATION as a string but tries to evaluate it as a boolean. "true", "false", "maybe", will all evaluate to true.

6farer avatar Jul 24 '25 23:07 6farer

This issue is stale because it has been open for 90 days with no activity.

github-actions[bot] avatar Oct 23 '25 00:10 github-actions[bot]

This issue was closed because it has been inactive for 7 days since being marked as stale.

github-actions[bot] avatar Oct 30 '25 00:10 github-actions[bot]