mercredi 27 janvier 2016

Laravel - Setting session variables when using Basic Auth

I'm implementing an API so that clients can access our system. I'm currently using Auth Basic for authentication. Is there a way for me to set additional session variables when they authenticate this way?

There are session variables we usually set when they log in from the login page, and so there is functionality that depends on those values. So I'll need a way to set those same variables, but when using the Auth Basic middleware.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire