Now we have a filter to not allow the guest-account to change it's data
[shipsimu.git] / application / ship-simu / main / commands / web / class_WebShipsimuProfileCommand.php
index 25b642603ea3a44f48727267c429d9bc6d43b16f..7c64fdda1354658e879034ef24ba1570cd4834b9 100644 (file)
@@ -127,6 +127,9 @@ class WebShipsimuProfileCommand extends BaseCommand implements Commandable {
                // User status filter
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_filter'));
 
+               // User status if not 'guest' filter
+               $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_guest_filter'));
+
                // Updated rules accepted
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('rules_accepted_filter'));