bug: incomplete email is being allowed during sign-up #134

Closed
opened 2025-11-11 14:07:33 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @anuraagdjain on GitHub (Dec 28, 2023).

Bug Report

Description

Bug Summary:
[Provide a brief but clear summary of the bug]

When signing up, it allows me to enter without a fully qualified domain and let's me login.

image

Steps to Reproduce:
[Outline the steps to reproduce the bug. Be as detailed as possible.]

  1. Sign up and enter user@domain, it will accept and save the user

Expected Behavior:
[Describe what you expected to happen.]

It should prevent me until I give a fully valid domain name. We might need to use a library to perform the validation as type=email on the input doesn't help.

Actual Behavior:
[Describe what actually happened.]

Throw a toast notification or at least prevent user from submitting the form when incomplete email provided.

Environment

  • Operating System:: Mac Sanoma [e.g., Windows 10, macOS Big Sur, Ubuntu 20.04]
  • Browser (if applicable):: Chrome [e.g., Chrome 100.0, Firefox 98.0]

Reproduction Details

Confirmation:

  • I have read and followed all the instructions provided in the README.md.
  • I have reviewed the troubleshooting.md document.
  • I have included the browser console logs.
  • I have included the Docker container logs.

Logs and Screenshots

Browser Console Logs:
[Include relevant browser console logs, if applicable]

Docker Container Logs:
[Include relevant Docker container logs, if applicable]

Screenshots (if applicable):
[Attach any relevant screenshots to help illustrate the issue]

Installation Method

[Describe the method you used to install the project, e.g., manual installation, Docker, package manager, etc.]

Additional Information

[Include any additional details that may help in understanding and reproducing the issue. This could include specific configurations, error messages, or anything else relevant to the bug.]

Note

If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!

Originally created by @anuraagdjain on GitHub (Dec 28, 2023). # Bug Report ## Description **Bug Summary:** [Provide a brief but clear summary of the bug] When signing up, it allows me to enter without a fully qualified domain and let's me login. <img width="733" alt="image" src="https://github.com/ollama-webui/ollama-webui/assets/4705103/a5ae68da-1b13-4afb-bc17-f2b1a8ba738b"> **Steps to Reproduce:** [Outline the steps to reproduce the bug. Be as detailed as possible.] 1. Sign up and enter `user@domain`, it will accept and save the user **Expected Behavior:** [Describe what you expected to happen.] It should prevent me until I give a fully valid domain name. We might need to use a library to perform the validation as `type=email` on the input doesn't help. **Actual Behavior:** [Describe what actually happened.] Throw a toast notification or at least prevent user from submitting the form when incomplete email provided. ## Environment - **Operating System:**: Mac Sanoma [e.g., Windows 10, macOS Big Sur, Ubuntu 20.04] - **Browser (if applicable):**: Chrome [e.g., Chrome 100.0, Firefox 98.0] ## Reproduction Details **Confirmation:** - [x] I have read and followed all the instructions provided in the README.md. - [x] I have reviewed the troubleshooting.md document. - [ ] I have included the browser console logs. - [ ] I have included the Docker container logs. ## Logs and Screenshots **Browser Console Logs:** [Include relevant browser console logs, if applicable] **Docker Container Logs:** [Include relevant Docker container logs, if applicable] **Screenshots (if applicable):** [Attach any relevant screenshots to help illustrate the issue] ## Installation Method [Describe the method you used to install the project, e.g., manual installation, Docker, package manager, etc.] ## Additional Information [Include any additional details that may help in understanding and reproducing the issue. This could include specific configurations, error messages, or anything else relevant to the bug.] ## Note If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!
Author
Owner

@anuraagdjain commented on GitHub (Dec 30, 2023):

The password field also needs some improvement , currently it's accepting pass123 as values. If users start to expose the UI on the internet, then it might not be good for them.

@anuraagdjain commented on GitHub (Dec 30, 2023): The password field also needs some improvement , currently it's accepting `pass123` as values. If users start to expose the UI on the internet, then it might not be good for them.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#134