Added new factory and fixed confusing between login and actual user classes.
[core.git] / inc / classes / main / filter / verifier / class_UserUnconfirmedVerifierFilter.php
index c8e6f42..897951d 100644 (file)
@@ -54,7 +54,7 @@ class UserUnconfirmedVerifierFilter extends BaseFilter implements Filterable {
         */
        public function execute (Requestable $requestInstance, Responseable $responseInstance) {
                // Get a user instance for comparison
-               $userInstance = LoginFactory::createLoginObjectByRequest($requestInstance);
+               $userInstance = UserFactory::createUserByRequest($requestInstance);
 
                // Is the email address valid?
                if ($userInstance->ifEmailAddressExists() === FALSE) {