fix: make auth actually work
This commit is contained in:
parent
dade71c200
commit
af6affa3fb
1 changed files with 2 additions and 2 deletions
|
|
@ -88,7 +88,7 @@ class CurrentSession
|
|||
{
|
||||
$consoles = DB::table('console_auth')
|
||||
->where([
|
||||
'short_id' => $serviceToken->long,
|
||||
'long_id' => $serviceToken->long,
|
||||
])
|
||||
->count();
|
||||
|
||||
|
|
@ -96,7 +96,7 @@ class CurrentSession
|
|||
if ($consoles === 1) {
|
||||
$user = DB::table('console_auth')
|
||||
->where([
|
||||
'short_id' => $serviceToken->long,
|
||||
'long_id' => $serviceToken->long,
|
||||
])
|
||||
->first();
|
||||
} elseif ($consoles > 1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue