CSGHub
CSGHub copied to clipboard
register user error
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:
- register user test1,login user is ok,logout test1
- register user test2,login error,error message is:ERROR: duplicate key value violates unique constraint "users_email_key"
- 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.