You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi our site uses a custom login function to assure that our members have signed a waiver, SSO works great from the main blon but when I call it from one of the subsites it throws a error my guess is because SSO is fired after wp_signon because even though it throws the error. closing the modal & refreshing the page shows that I am signed in. Any ideas on how I can fix this?
Hi our site uses a custom login function to assure that our members have signed a waiver, SSO works great from the main blon but when I call it from one of the subsites it throws a error my guess is because SSO is fired after wp_signon because even though it throws the error. closing the modal & refreshing the page shows that I am signed in. Any ideas on how I can fix this?
switch_to_blog(1);
$user = wp_signon( array( 'user_login' => $username, 'user_password' => $data['password'], 'remember' => $remember ), true );
restore_current_blog();
if you would like to see the problem in action let me know & I'll get you a login and URLS
The text was updated successfully, but these errors were encountered: