Closed paishin closed 3 years ago
@paishin I, too, had noticed this in a project we've been developing; I simply did not have the time to report it. Thank you for this!
I can, however, add that this also seems to happen when a token expires or is blacklisted.
Interesting. If someone had time to fix it, I'll accept the PR. Otherwise, I can fix it in +2 weeks. Really busy time for me right now.
It should be fixed right now.
I am facing a very strange issue where when a username has already been taken the response I get is in html instead of text/json. If the email has been taken then the response is in text/json.
Also I have found out that this depends on the primary login method of the 'Users Plugin'; if set to username then username taken returns text/json and email returns text/html.