alleyinteractive / wp-light-sessions

4 stars 0 forks source link

Add a filterable logout route #4

Open scottnelle opened 1 year ago

scottnelle commented 1 year ago

Description

I would like to see this plugin add a filterable logout route which would expose a URL which would destroy the light session cookies and redirect the user somewhere. Proposed features:

Use Case

Using the WordPress Logout URL for light sessions does seem to work, but it prompts users to confirm the logout (as WordPress does when the nonce isn't correct) and that seems unnecessary for light session users.