jeudi 18 octobre 2018

Laravel 5.5.* Cookie::get return encrypted cookie value

I try

Cookie::queue(Cookie::forever('test', 'TEST'));
    $value = Cookie::get('test');
and get like this eyJpdiI6ImNzUFNON0N0c1UzRUlWMTVFQ01rMnc9PSIsInZhbHVlIjoiU2JadHRhRFRcL3RES2VNT1dPOE84YTR0d0NQTnhiUEs3bllcL3ZiczYzaFhxc2h0NGR0MzllNmtJcDRqZnMza2NCK1FlZ...

Laravel should automatically encrypt or not?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire