AllYourBot / hostedgpt

An open version of ChatGPT you can host anywhere or run locally.
MIT License
269 stars 111 forks source link

Adds a DB unique constraints for registration #417

Closed matthewbennink closed 3 weeks ago

matthewbennink commented 3 weeks ago

https://github.com/AllYourBot/hostedgpt/discussions/405

Ensures no two people share the same email address, which primarily matters for authentication via email.

Likewise, ensures no two credentials share email or external id for a given credential type, allowing the system to uniquely identify the entity being authenticated.

krschacht commented 3 weeks ago

Thanks @matthewbennink, merged