MegaAntiCheat / client-backend

GNU General Public License v3.0
120 stars 25 forks source link

Handle client errors from masterbase response properly. #151

Closed Bash-09 closed 6 months ago

Bash-09 commented 6 months ago

Don't just assume that a client error means connection and authorization was successful, check it's a 403. If it's something else, then that's actually a problem.

Should resolve the 404 error reported in #150

Bash-09 commented 6 months ago

@Seercat3160 Can you please confirm that this change does not incorrectly accept the 404 error as successful now?

Seercat3160 commented 6 months ago

Client error when trying to contact masterbase: Status code 404 Not Found

Looks good to me.