RSS Feed/News XenForo deletes "style_variation" cookie on logout

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
25,933
Points
823

Reputation:

I think it makes sense to keep this cookie (similar to "consent", "notice_dismiss" and "push_notice_dismiss") in order to keep the style that the user selected before he logged-in.

Diff:

Code:
--- a/src/XF/ControllerPlugin/LoginPlugin.php
+++ b/src/XF/ControllerPlugin/LoginPlugin.php
@@ -374,6 +374,7 @@ class LoginPlugin extends AbstractPlugin
             'notice_dismiss',
             'push_notice_dismiss',
             'session',
+            'style_variation',
             'tfa_trust'...

Read more

Continue reading...
 
Status
Not open for further replies.
Top