Bug XenForo deletes "style_variation" cookie on logout

There is a bug in this version
S

Steffen

Guest
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...