]> git.mxchange.org Git - city.git/blobdiff - application/city/main/login/class_CityUserLogin.php
Added new stuff for founding first city (unfinished).
[city.git] / application / city / main / login / class_CityUserLogin.php
index f02a615ee1e79e605c69159dc5e3b4ae3a415b72..0957e71784161bb643b8eecf4e332a54c1b69901 100644 (file)
@@ -65,10 +65,6 @@ class CityUserLogin extends BaseFrameworkSystem implements LoginableUser {
         * @todo        user account.
         */
        public function doLogin (Requestable $requestInstance, Responseable $responseInstance) {
-               // By default no method is selected
-               $method = null;
-               $data = "";
-
                // Get member class
                $userClass = $this->getConfigInstance()->getConfigEntry('user_class');
 
@@ -84,10 +80,13 @@ class CityUserLogin extends BaseFrameworkSystem implements LoginableUser {
                        throw new UserPasswordMismatchException(array($this, $userInstance), BaseUser::EXCEPTION_USER_PASS_MISMATCH);
                } // END - if
 
-               // ToDo place
+               // @TODO What else?
+
+               /*
+                * Now do the real login. This can be cookie- or session-based login
+                * which depends on the admins setting then on the user's taste.
+                */
 
-               // Now do the real login. This can be cookie- or session-based login
-               // which depends on the admins setting then on the user's taste.
                // 1) Get a login helper instance
                $helperInstance = ObjectFactory::createObjectByConfiguredName('login_helper_class', array($requestInstance));