mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-24 14:11:29 +00:00
Reject unapproved tokens on login
This commit is contained in:
parent
e7f64db812
commit
9157fd39ae
1 changed files with 2 additions and 0 deletions
|
@ -97,6 +97,8 @@ namespace LBPUnion.ProjectLighthouse.Controllers
|
|||
|
||||
await this.database.SaveChangesAsync();
|
||||
|
||||
if (!token.Approved) return this.StatusCode(403, "");
|
||||
|
||||
Logger.Log($"Successfully logged in user {user.Username} as {token.GameVersion} client ({titleId})", LoggerLevelLogin.Instance);
|
||||
|
||||
// Create a new room on LBP2+/Vita
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue