Lodestone-Team / lodestone_core

The backend for Lodestone, A free, open source server hosting tool for Minecraft and other multiplayers

Home Page:https://www.lodestone.cc/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve user login errors

Ynng opened this issue · comments

Description

Currently, when a user tries to login.
If the username is incorrect, the server replies with a 404 error.
If the password is incorrect, the server replies "Unauthorized", "Credential mismatch"

The server should not use 404 for "user not found" in this case, and reply with the exact same response in both cases

Fixed in #110