mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
fix message: invalid authkey
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ if (!empty($_REQUEST['authkey'])) {
|
|||||||
}
|
}
|
||||||
$userInfo = \App\Models\User::query()->where('id', $uid)->first(['id', 'passkey']);
|
$userInfo = \App\Models\User::query()->where('id', $uid)->first(['id', 'passkey']);
|
||||||
if (!$userInfo) {
|
if (!$userInfo) {
|
||||||
err('Invalid authkty');
|
err('Invalid authkey');
|
||||||
}
|
}
|
||||||
$_GET['passkey'] = $userInfo->passkey;
|
$_GET['passkey'] = $userInfo->passkey;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user