XenForo deletes "style_variation" cookie on logout

Steffen

Well-known member
Affected version
2.3.2
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:
--- 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',
         ];
     }
 
Back
Top Bottom