Closed nikochiko closed 4 years ago
If the user doesn't change the username, aka submits the same username that is currently assigned, the user mutation changeUsername
should return true and set newUser
to false.
Is that different from the current functionality?
It works sometimes, but sometimes it doesn't. I was getting an error that the username is already in use. And then everything was working 3-4 tries later.
No need to fix it just yet though because I haven't encountered that same error since then.
It works sometimes, but sometimes it doesn't. I was getting an error that the username is already in use. And then everything was working 3-4 tries later.
That's strange. I'll test it out a bit more
Fixes #102
Changes:
LoginWithGithub
mutation which allows frontend to send the oauth code and signup/login with it