OpenCSGs/csghub

register user error

leipeizhao opened this issue · 1 comments

Describe the bug
register user error

Environment
CSGHub Version: v0.9
OS: Linux
Hardware: 4c8G
Launch: docker compose

To Reproduce
Steps to reproduce the behavior:

  1. register user test1,login user is ok,logout test1
  2. register user test2,login error,error message is:ERROR: duplicate key value violates unique constraint "users_email_key"
  3. because the email info is lost in the function "createFromCasdoorUser" in the project csghub-server

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Rader commented

this bug will be fixed in v0.9.3