Closed claytoncollie closed 1 year ago
@tlovett1 This seems like the least invasive fix. Even if the user does not get into this conditional, the $reedirect_to
right above will default to the wp_login_url
--> https://github.com/10up/10up-experience/blob/develop/includes/classes/SSO/SSO.php#L299
I tested this locally and I am still able to log in successfully with a 10up account and also get rejected successfully with my personal email.
Checks that
$REQUEST['redirect_to']
is a string before using it inside the conditional.Closes #136
How to test the Change
Changelog Entry
Credits
Props @claytoncollie
Checklist: