Description
- Gogs version (or commit ref): 0.9.97.0901
- Git version: 1.9.1
- Operating system: Ubuntu 14.04.5 LTS x64
- Database (use
[x]
):- PostgreSQL
- MySQL
- SQLite
- Can you reproduce the bug at https://try.gogs.io:
- Log gist: https://gist.github.com/joubertredrat/7792a5e54410795c8cca270f96a4efe2
Description
I identified 2 issues about different users with same e-mail, one on my environment and other on demo.
On mine Gogs instance I have my one user provided by SMTP authentication with e-mail my@email
. Today I created one local user with same e-mail my@email
. After this, both users can't create repositories, as is in gist above. Other users can create repositories without problems.
For see if I can reproduce same problem, I go to test on Gogs demo, I created user redrat1
without problems. Then, I created user redrat2
with same email from redrat1
. I received email to activate account, but If I try to enable user redrat2
, causes error 500.
Reference: gogs/gogs#3681
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/38896692-different-users-with-same-e-mail-causes-error-on-create-repositores-and-user-creation-from-register?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github).