]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/main/actions/post_registration/class_LoginAfterRegistrationAction.php
Cookie-based login initially done
[shipsimu.git] / inc / classes / main / actions / post_registration / class_LoginAfterRegistrationAction.php
index aae33eb5c2c8f0d67d7c97ba8b20bfc0218aa754..63c4450fa817a693dd960ca60e47aa0af3ed3d8f 100644 (file)
@@ -63,13 +63,13 @@ class LoginAfterRegistrationAction extends BaseAction implements Commandable {
                $loginInstance = ObjectFactory::createObjectByConfiguredName('login_user');
 
                // Login the user by the request instance
-               $loginInstance->doLogin($requestInstance);
+               $loginInstance->doLogin($requestInstance, $responseInstance);
 
                // Was the login fine? Then redirect here
                if ($loginInstance->ifLoginWasSuccessfull()) {
                        // Try to redirect here
                        try {
-                               $responseInstance->redirectConfiguredUrl('app_login');
+                               $responseInstance->redirectToConfiguredUrl('app_login_url');
                        } catch (FrameworkException $e) {
                                // Something went wrong here!
                                $responseInstance->addFatalMessage($e->getMessage());