mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-02 18:18:39 +00:00
Merge branch 'feature/restrict-signup' of https://github.com/zaprit/projectlighthouse into feature/restrict-signup
This commit is contained in:
commit
5d5f8abf06
1 changed files with 1 additions and 2 deletions
|
@ -24,7 +24,6 @@ public class LoginController : ControllerBase
|
||||||
{
|
{
|
||||||
this.database = database;
|
this.database = database;
|
||||||
}
|
}
|
||||||
|
|
||||||
[HttpPost]
|
[HttpPost]
|
||||||
public async Task<IActionResult> Login()
|
public async Task<IActionResult> Login()
|
||||||
{
|
{
|
||||||
|
@ -70,7 +69,7 @@ public class LoginController : ControllerBase
|
||||||
switch (npTicket.Platform)
|
switch (npTicket.Platform)
|
||||||
{
|
{
|
||||||
case Platform.RPCS3:
|
case Platform.RPCS3:
|
||||||
user = await database.Users.FirstOrDefaultAsync(u => u.LinkedRpcnId == npTicket.UserId);
|
user = await this.database.Users.FirstOrDefaultAsync(u => u.LinkedRpcnId == npTicket.UserId);
|
||||||
break;
|
break;
|
||||||
case Platform.PS3:
|
case Platform.PS3:
|
||||||
case Platform.Vita:
|
case Platform.Vita:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue