XenForo deletes "style_variation" cookie on logout

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

Read more

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ