wpDiscuz - WordPress Comment Plugin
Please update plugi...
 
Share:
Notifications
Clear all

Please update plugin

2 Posts
2 Users
0 Likes
242 Views
juura
Posts: 6
Topic starter
(@juura)
Active Member
Joined: 1 year ago

Hi!

 

After authorization, the login cookie is not saved for 2 weeks. The problem is related to the function.

 

I did a search and found the problem.

 

On the page wpdiscuz/forms/wpdFormAttr/Login/SocialLogin.php you need to replace line 1435. The old value of wp_set_auth_cookie($userID); and the new value of wp_set_auth_cookie($userID, 1);

1 Reply
Asti
Posts: 5071
 Asti
Support
(@asti)
Illustrious Member
Joined: 5 years ago

Thank you juura,

We'll add it in the next version. 

Reply
Share: