sergiodxa / remix-auth

Simple Authentication for Remix
https://sergiodxa.github.io/remix-auth/
MIT License
2k stars 110 forks source link

Allow logout function to receive a HeadersInit #271

Closed reichhartd closed 5 months ago

reichhartd commented 8 months ago

This PR modifies the logout functionality to handle the deletion of additional cookies beyond the authentication cookie managed by remix-auth.

Changes:

This enhancement is crucial for instances where multiple cookies are used and need to be cleared to ensure a user is completely logged out.

reichhartd commented 5 months ago

@sergiodxa Maybe you can find time to look over this small PR? 🙂