12Scurity:6 \Fix HMAC handshake, generate API keys in Google Login, and relax JWT issuer
This commit is contained in:
@@ -326,7 +326,7 @@ class AuthController extends Controller
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Fetch Notification Token & Fingerprint
|
// Fetch Notification Token & Fingerprint
|
||||||
$tokenRow = DB::connection('primary')->table('passengerToken')->where('passengerID', $data['id'])->first();
|
$tokenRow = DB::connection('primary')->table('tokens')->where('passengerID', $data['id'])->first();
|
||||||
if ($tokenRow) {
|
if ($tokenRow) {
|
||||||
$data['fcm_token'] = $this->encryption->decrypt($tokenRow->token);
|
$data['fcm_token'] = $this->encryption->decrypt($tokenRow->token);
|
||||||
$data['fingerprint'] = $tokenRow->fingerPrint;
|
$data['fingerprint'] = $tokenRow->fingerPrint;
|
||||||
|
|||||||
Reference in New Issue
Block a user