Reject unapproved tokens on login

This commit is contained in:
jvyden 2021-12-13 18:36:29 -05:00 committed by LumaLivy
parent 6cc8061775
commit 23657f942d

View file

@ -99,6 +99,8 @@ namespace LBPUnion.ProjectLighthouse.Controllers
if (!token.Approved) return this.StatusCode(403, "");
Logger.Log($"Successfully logged in user {user.Username} as {token.GameVersion} client ({titleId})", LoggerLevelLogin.Instance);
Logger.Log($"Successfully logged in user {user.Username} as {token.GameVersion} client ({titleId})", LoggerLevelLogin.Instance);
// After this point we are now considering this session as logged in.