Skip to content

Disable New User Registration

Mehmet Celik edited this page May 17, 2025 · 1 revision

To disable new user registrations in your application, follow these steps:

  • Update .env File

Open your .env file and set the following environment variable:

DISABLE_USER_REGISTRATION=true

⚠️ Important: Ensure your own user account is already created before enabling this setting. Once enabled, no new users will be able to register.

  • Apply Changes

Restart your Docker containers to apply the new environment variable:

docker compose -p wapydev down
docker compose -p wapydev up -d

Topics

Getting Started
Learn how to install the application with Docker.

Environment Variables
Learn how to configure the application.

Single Sign-On (SSO) Alternatives
Find detailed instructions on how to configure login with Keycloak or Authentik.

Self‐Hosting without SMTP Email Server
Find detailed instructions on how to set up and configure Mailpit as a local SMTP server for self-hosted environments.

Webhook Integration
Find detailed instructions on how to use webhook.

Disable New User Registration
Learn how to disable new user registration.

Building Docker Image
Learn how to build the Docker image locally.

Database Backup and Restore
Find detailed instructions on how to back up and restore the database, including automation tips.

Clone this wiki locally