srguglielmo / SimpleShib

WordPress plugin to authenticate users with Shibboleth.
https://wordpress.org/plugins/simpleshib/
MIT License
7 stars 1 forks source link

Problem with reauth parameter #8

Open Nirzol opened 5 years ago

Nirzol commented 5 years ago

Hello

Problem when access wp-admin directly . WP redirect to wp-login.php with REAUTH=1 parameter. This parameter kill all cookies... I already get this prob with my CAS plugin and resolved it with filter.

To solve this , I add a filter into construct to remove this parameter add_filter( 'login_url', array( $this, 'efg_wp_cas_clear_reauth' ) );

And my function : /**

Hope will help people using this plugin.