]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/filter/auth/class_UserAuthFilter.php
Continued:
[core.git] / framework / main / classes / filter / auth / class_UserAuthFilter.php
index 985df48f40eb19056eb671e037dcc4f9910bb396..d902899bd1b3433cbfcf4db397c4f359cd356d23 100644 (file)
@@ -110,7 +110,7 @@ class UserAuthFilter extends BaseFilter implements Filterable {
 
                        // Stop here
                        throw new UserAuthorizationException($this, self::EXCEPTION_AUTH_DATA_INVALID);
-               } // END - if
+               }
 
                // Regular user account
                $className = FrameworkBootstrap::getConfigurationInstance()->getConfigEntry('user_class');
@@ -121,13 +121,13 @@ class UserAuthFilter extends BaseFilter implements Filterable {
                        // Set class
                        $className = FrameworkBootstrap::getConfigurationInstance()->getConfigEntry('guest_class');
                        $methodName = 'createGuestByUserName';
-               } // END - if
+               }
 
                // Does the guest class exist?
                if (!class_exists($className)) {
                        // Then abort here
                        throw new NoClassException (array($this, $className), self::EXCEPTION_CLASS_NOT_FOUND);
-               } // END - if
+               }
 
                // Now try the dynamic login
                $userInstance = call_user_func_array(array($className, $methodName), array($authLogin));
@@ -136,7 +136,7 @@ class UserAuthFilter extends BaseFilter implements Filterable {
                if ($userInstance->getPasswordHash() !== $authHash) {
                        // Mismatching password
                        throw new UserPasswordMismatchException(array($this, $userInstance), BaseUser::EXCEPTION_USER_PASS_MISMATCH);
-               } // END - if
+               }
 
                // Remember auth and user instances in registry
                GenericRegistry::getRegistry()->addInstance('auth', $authInstance);