Closed syphernl closed 9 years ago
Using Multiauth with Eloquent and LDAP (via custom package) results in cookies being set with complete HTTP responses in them like so:
[2014-12-03 10:30:08] development.ERROR: exception 'InvalidArgumentException' with message 'The cookie name "remember_GET /auth/logout HTTP/1.1 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Content-Length: Content-Type: .... _5ab1837e91245bf513442c708b50254d" contains invalid characters.' in /vagrant/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Cookie.php:50
The $name parameter seems to contain this value.
$name
My bad.. I was calling the Ollieread\Multiauth\Guard wrong which indeed contained the request in third parameter where it would require a name.
Ollieread\Multiauth\Guard
Using Multiauth with Eloquent and LDAP (via custom package) results in cookies being set with complete HTTP responses in them like so:
The
$name
parameter seems to contain this value.