enh: hide signup when enable_signup = false #1020

Closed
opened 2025-11-11 14:35:41 -06:00 by GiteaMirror · 5 comments
Owner

Originally created by @oregonpillow on GitHub (May 23, 2024).

Is your feature request related to a problem? Please describe.

Within the admin-panel, when you can disable user sign-ups, the sign-up button still displays on the login page and will allow someone to go through with the process of entering their details, and only at the final moment when they click "Create Account" will it inform them that sign ups are disabled and they should contact administrator.

This behaviour is misleading. If a button exists that says "Sign up" it should actually allow sign ups otherwise it should be hidden. At least, it should be an option to hide it.

Describe the solution you'd like

When sign ups are disabled within admin panel the sign up button on login page is hidden.

Describe alternatives you've considered

Blocking the sign up path via reverse proxy but it's hacky and not a good solution.

Originally created by @oregonpillow on GitHub (May 23, 2024). **Is your feature request related to a problem? Please describe.** Within the admin-panel, when you can disable user sign-ups, the sign-up button still displays on the login page and will allow someone to go through with the process of entering their details, and only at the final moment when they click "Create Account" will it inform them that sign ups are disabled and they should contact administrator. This behaviour is misleading. If a button exists that says "Sign up" it should actually allow sign ups otherwise it should be hidden. At least, it should be an option to hide it. **Describe the solution you'd like** When sign ups are disabled within admin panel the sign up button on login page is hidden. **Describe alternatives you've considered** Blocking the sign up path via reverse proxy but it's hacky and not a good solution.
Author
Owner

@bitsokoservices commented on GitHub (May 23, 2024):

Maybe a guest mode feature instead so we can have both guest mode and sign-ups. Maybe whitelisted models for signed up users would work?

@bitsokoservices commented on GitHub (May 23, 2024): Maybe a guest mode feature instead so we can have both guest mode and sign-ups. Maybe whitelisted models for signed up users would work?
Author
Owner

@oregonpillow commented on GitHub (May 24, 2024):

Maybe a guest mode feature instead so we can have both guest mode and sign-ups. Maybe whitelisted models for signed up users would work?

I'm all for a guest mode but I think this should be a different feature as it's not mutually exclusive with hiding the sign up button; you could have a guest mode (no credentials required) regardless of the state of signs ups being enabled or not.

@oregonpillow commented on GitHub (May 24, 2024): > Maybe a guest mode feature instead so we can have both guest mode and sign-ups. Maybe whitelisted models for signed up users would work? I'm all for a guest mode but I think this should be a different feature as it's not mutually exclusive with hiding the sign up button; you could have a guest mode (no credentials required) regardless of the state of signs ups being enabled or not.
Author
Owner

@bitsokoservices commented on GitHub (May 24, 2024):

Actually that's a better approach, guest mode regardless of the state of signs ups being enabled or not then whitelist models for guests only. Our use case is to have a UI/modelfile for customers with public facing information and another with more private context for managers.

@bitsokoservices commented on GitHub (May 24, 2024): Actually that's a better approach, guest mode regardless of the state of signs ups being enabled or not then whitelist models for guests only. Our use case is to have a UI/modelfile for customers with public facing information and another with more private context for managers.
Author
Owner

@tjbck commented on GitHub (May 26, 2024):

image

Added to our dev branch!

@tjbck commented on GitHub (May 26, 2024): ![image](https://github.com/open-webui/open-webui/assets/25473318/bf57651b-822a-4b63-ab80-e99c5f13c8f7) Added to our dev branch!
Author
Owner

@tjbck commented on GitHub (May 26, 2024):

@bitsokoservices Guest mode could be a separate feature request on it's own, feel free to open a new issue!

@tjbck commented on GitHub (May 26, 2024): @bitsokoservices Guest mode could be a separate feature request on it's own, feel free to open a new issue!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#1020