[BUG] Cannot disable registration
See original GitHub issueDescribe the bug Cannot disable registration using the .env file
Product Flavor
- Managed (https://rxresu.me)
- [ X ] Self Hosted
To Reproduce
- Disable new signups using .env file
- Run Docker
Expected behavior I expected not to be able to make new users.
Desktop (please complete the following information):
- OS: Safari
- Browser: Safari
- Version: 15.4
Additional context My docker-compose.yml:
version: '3'
services:
postgres:
image: postgres:latest
container_name: reactive-resume-postgres
ports:
- 5432:5432
env_file: .env
volumes:
- ./config:/var/lib/postgresql/data
traefik:
image: traefik:latest
container_name: reactive-resume-traefik
command:
- --providers.docker=true
- --providers.docker.exposedbydefault=false
- --entrypoints.web.address=:80
ports:
- 8281:80
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
server:
image: amruthpillai/reactive-resume:server-latest
container_name: reactive-resume-server
env_file: .env
environment:
- POSTGRES_HOST=postgres
depends_on:
- traefik
- postgres
labels:
- traefik.enable=true
- traefik.http.routers.server.entrypoints=web
- traefik.http.routers.server.rule=Host(`REMOVED `) && PathPrefix(`/api/`)
- traefik.http.routers.server.middlewares=server-stripprefix
- traefik.http.middlewares.server-stripprefix.stripprefix.prefixes=/api
- traefik.http.middlewares.server-stripprefix.stripprefix.forceslash=true
client:
image: amruthpillai/reactive-resume:client-latest
container_name: reactive-resume-client
env_file: .env
depends_on:
- traefik
- server
labels:
- traefik.enable=true
- traefik.http.routers.client.rule=Host(`REMOVED`)
- traefik.http.routers.client.entrypoints=web
My .env file:
# App
TZ=America/New_York
SECRET_KEY=REMOVED
# URLs
PUBLIC_URL= REMOVED
PUBLIC_SERVER_URL=REMOVED
# Database
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
POSTGRES_USERNAME=postgres
POSTGRES_PASSWORD=REMOVED
POSTGRES_DATABASE=postgres
# Auth
JWT_SECRET=REMOVED
JWT_EXPIRY_TIME=604800
# Flags (Optional)
PUBLIC_FLAG_DISABLE_SIGNUPS=true
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Bug: Disable self registration option not working #2839 - GitHub
Server Setup Information: Wekan version: 3.56 Operating System: Ubuntu 16.04 Deployment Method: bundle/source Http frontend: none Node ...
Read more >Cannot disable registration - WordPress.org
Hi there, It looks like it is not possible to disable registration in Ultimate Member plugin version 2.4.2, even though wp-admin>Settings>General>”Anyone ...
Read more >Disabling Allow New Registrations still shows registration link ...
I noticed that if I uncheck allow new registrations the 'Sign Up' link is still visible in the header. Furthermore, the link opens...
Read more >how to disable registration? - phpBB
In phpBB2, if you go to the admin panel and choose 'Disallow names' at the bottom of the admin menu you can stop...
Read more >How to disable user signup? - Cloudron Forum
@darcyc Turning off sign ups works for me here. I think the bug is that the "register" link is still shown in the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I deleted the containers multiple times and even removed the docker volume for the Postgres database. None of that resolved the issue.
This is my current setup, and it’s working with the registration disable: