mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-27 23:48:39 +00:00
Quick fixes (awesome name)
This commit is contained in:
parent
68dbf50253
commit
0c8ff50176
5 changed files with 15 additions and 13 deletions
|
@ -214,12 +214,6 @@ public class LoginController : ControllerBase
|
|||
|
||||
Logger.Success($"Successfully logged in user {user.Username} as {token.GameVersion} client", LogArea.Login);
|
||||
|
||||
string userAgent = this.Request.Headers.UserAgent.ToString();
|
||||
if (!String.IsNullOrWhiteSpace(userAgent))
|
||||
{
|
||||
user.UserAgent = userAgent;
|
||||
}
|
||||
|
||||
await database.SaveChangesAsync();
|
||||
|
||||
// Create a new room on LBP2/3/Vita
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue