Saeven / zf3-circlical-user

Turnkey Authentication, Identity, and RBAC for Laminas and Zend Framework 3. Supports Doctrine and Middleware.
Mozilla Public License 2.0
36 stars 15 forks source link

Custom names for cookies #29

Open vojtabiberle opened 7 years ago

vojtabiberle commented 7 years ago

Hi, I need switch cookies from subdomain specific cookies (www.example.com, b2b.example.com) to "all subdomain cookies" for login (.example.com).

I can't detect, which cookie (for specific subdomain or generic) browser sent me (and FF always give priority to cookie for specific subdomain).

I can even delete all cookies (without some redirecting magic for all login pages).

Only one way, how to do it is to change cookie names.

So I made pull request: https://github.com/Saeven/zf3-circlical-user/pull/28

What do you think?