chore: switch to longids for auth
This commit is contained in:
parent
6d2c3cd73a
commit
611834a611
1 changed files with 2 additions and 2 deletions
|
|
@ -88,7 +88,7 @@ class CurrentSession
|
|||
{
|
||||
$consoles = DB::table('console_auth')
|
||||
->where([
|
||||
'short_id' => $serviceToken->short,
|
||||
'short_id' => $serviceToken->long,
|
||||
])
|
||||
->count();
|
||||
|
||||
|
|
@ -96,7 +96,7 @@ class CurrentSession
|
|||
if ($consoles === 1) {
|
||||
$user = DB::table('console_auth')
|
||||
->where([
|
||||
'short_id' => $serviceToken->short,
|
||||
'short_id' => $serviceToken->long,
|
||||
])
|
||||
->first();
|
||||
} elseif ($consoles > 1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue