{"action":"closed","issue":{"url":"https://api.github.com/repos/gogits/gogs/issues/3731","repository_url":"https://api.github.com/repos/gogits/gogs","labels_url":"https://api.github.com/repos/gogits/gogs/issues/3731/labels{/name}","comments_url":"https://api.github.com/repos/gogits/gogs/issues/3731/comments","events_url":"https://api.github.com/repos/gogits/gogs/issues/3731/events","html_url":"https://github.com/gogits/gogs/issues/3731","id":181074532,"number":3731,"title":"Admin panel allow to create user with email address already used by another user.","user":{"login":"J-Siu","id":3171920,"avatar_url":"https://avatars.githubusercontent.com/u/3171920?v=3","gravatar_id":"","url":"https://api.github.com/users/J-Siu","html_url":"https://github.com/J-Siu","followers_url":"https://api.github.com/users/J-Siu/followers","following_url":"https://api.github.com/users/J-Siu/following{/other_user}","gists_url":"https://api.github.com/users/J-Siu/gists{/gist_id}","starred_url":"https://api.github.com/users/J-Siu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/J-Siu/subscriptions","organizations_url":"https://api.github.com/users/J-Siu/orgs","repos_url":"https://api.github.com/users/J-Siu/repos","events_url":"https://api.github.com/users/J-Siu/events{/privacy}","received_events_url":"https://api.github.com/users/J-Siu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-05T06:28:04Z","updated_at":"2016-10-06T06:22:46Z","closed_at":"2016-10-06T06:22:46Z","body":"- Gogs version (or commit ref): https://dl.gogs.io/gogs_v0.9.97_linux_amd64.tar.gz\r\n- Git version: 2.9.3\r\n- Operating system: Ubuntu 14.04.5 LTS (GNU/Linux 2.6.32-042stab116.2 x86_64) \r\n- Database (use `[x]`):\r\n  - [ ] PostgreSQL\r\n  - [ ] MySQL\r\n  - [x] SQLite\r\n- Can you reproduce the bug at https://try.gogs.io:\r\n  - [ ] Yes (provide example URL)\r\n  - [x] No - Need access to admin panel\r\n  - [ ] Not relevant\r\n- Log gist:\r\n\r\n  `2016/10/05 02:07:58 [...routers/repo/repo.go:101 handleCreateError()] [E] CreatePost: updateUser: e-mail has been used [email: <email address>]`\r\n\r\n## Description\r\n\r\n### Step to reproduce\r\n\r\n1. Configure admin user profile email.\r\n2. Use admin panel to create user with same email address as admin.\r\n3. Login to new user with username. Create new repo will result in \"Error 500\" page.\r\n\r\n### Expected behavior\r\n\r\nAdmin panel should not allow new user with email address already used by another account."}}
{"actor":{"display_login":"bkcsoft"}}