Feature: Prevent signup #63

Closed
opened 2026-02-19 23:04:21 -05:00 by deekerman · 2 comments
Owner

Originally created by @RealOrangeOne on GitHub (May 7, 2022).

Originally assigned to: @alextran1502 on GitHub.

Currently, it's possible for anyone with access to the server's API (which if it's connected to the internet, is everyone) to create a user account and begin using immich.

It'd be great if it were possible to prevent registration, probably through an environment variable. This way, the admin can manage creating accounts themselves, and then just keep the API disabled everywhen else.

Originally created by @RealOrangeOne on GitHub (May 7, 2022). Originally assigned to: @alextran1502 on GitHub. Currently, it's possible for anyone with access to the server's API (which if it's connected to the internet, is everyone) to create a user account and begin using immich. It'd be great if it were possible to prevent registration, probably through an environment variable. This way, the admin can manage creating accounts themselves, and then just keep the API disabled everywhen else.
Author
Owner

@alextran1502 commented on GitHub (May 19, 2022):

In progress
Screen Shot 2022-05-19 at 18 08 27

There will be a one-time registration for the first user who will be assigned as an Admin for the server. The register functionality will then be disabled, new users can only be created by the admin user.

@alextran1502 commented on GitHub (May 19, 2022): In progress <img width="2056" alt="Screen Shot 2022-05-19 at 18 08 27" src="https://user-images.githubusercontent.com/27055614/169418723-033281e0-49fe-43b5-b6e5-3256663c8dfe.png"> There will be a one-time registration for the first user who will be assigned as an Admin for the server. The register functionality will then be disabled, new users can only be created by the admin user.
Author
Owner

@alextran1502 commented on GitHub (May 21, 2022):

You can try out this feature by updating the repository and pulling the latest images for the docker services. There is a new environment variable you have to put in for this to work. Please check .env.example for more detail. I am closing this issue now.

@alextran1502 commented on GitHub (May 21, 2022): You can try out this feature by updating the repository and pulling the latest images for the docker services. There is a new environment variable you have to put in for this to work. Please check `.env.example` for more detail. I am closing this issue now.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/immich#63
No description provided.