mardi 30 janvier 2018

Laravel 5.1 Snappy problems with Authentication

I am using Barrydvh\Snappy for PDF generation on my Laravel 5.1 application. The PDF must be generated once the user has logged in, as that view must be kept private.

It seems that the shell opened by wkhtmltopdf creates a parallel session, therefore there is no user authenticated, and I get back the login route instead of the desired private view.

Does anyone know how to handle this?

Thank you all in advance.

Best regards, Marta



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire