CSGHub icon indicating copy to clipboard operation
CSGHub copied to clipboard

register user error

Open leipeizhao opened this issue 1 year ago • 0 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.

leipeizhao avatar Sep 30 '24 09:09 leipeizhao