fix message: invalid authkey

This commit is contained in:
xiaomlove
2021-06-03 21:18:36 +08:00
parent ed68efeeea
commit e25fddcbe0

View File

@@ -26,7 +26,7 @@ if (!empty($_REQUEST['authkey'])) {
}
$userInfo = \App\Models\User::query()->where('id', $uid)->first(['id', 'passkey']);
if (!$userInfo) {
err('Invalid authkty');
err('Invalid authkey');
}
$_GET['passkey'] = $userInfo->passkey;
}