MegaAntiCheat / client-backend

GNU General Public License v3.0
117 stars 24 forks source link

Handle client errors from masterbase response properly. #151

Closed Bash-09 closed 3 months ago

Bash-09 commented 3 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 3 months ago

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

Seercat3160 commented 3 months ago

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

Looks good to me.