You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It directly returns the value of is_user_logged_in() without applying any conditional logic.
So if the user is connected, the snippet always runs, and if not, it will never do
I quickly resolved that using this patch, but maybe you have a better way to do this in your codebase
The issue is here:
easy-code-manager/app/Services/FluentSnippetCondition.php
Lines 55 to 59 in 793c314
It directly returns the value of
is_user_logged_in()
without applying any conditional logic.So if the user is connected, the snippet always runs, and if not, it will never do
I quickly resolved that using this patch, but maybe you have a better way to do this in your codebase
The text was updated successfully, but these errors were encountered: