Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Twice login

$
0
0

Replies: 0

Hi

Thanks for this plugin

I have a problem
When login any user I see it twice in the table please look at this image: https://ibb.co/gPQ7r8g

this is the code for login in my custom function to login: https://ibb.co/S7M1vXg

 $user_signon = wp_signon($info, false);
 // wp_set_auth_cookie($user_signon->ID, true);
 wp_set_current_user($user_signon->ID);

If I remove the comment form this line wp_set_auth_cookie($user_signon->ID, true);
I will see in the table 4 time

I hope you help me


Viewing all articles
Browse latest Browse all 59525

Trending Articles