Login redirecting to Login PageForce login to access catalog and product pagesLogin Form Redirecting to Login...

Do authors have to be politically correct in article-writing?

Has any human ever had the choice to leave Earth permanently?

What is the difference between "...", '...', $'...', and $"..." quotes?

Why was Lupin comfortable with saying Voldemort's name?

Is there a defined priority for pattern matching?

How do I prevent a homebrew Grappling Hook feature from trivializing Tomb of Annihilation?

What is a good reason for every spaceship to carry a weapon on board?

Airplane generations - how does it work?

Globe trotting Grandpa. Where is he going next?

How to not let the Identify spell spoil everything?

TikZ graph edges not drawn nicely

Should I reinstall Linux when changing the laptop's CPU?

Can I announce prefix 161.117.25.0/24 even though I don't have all of /24 IPs?

I have trouble understanding this fallacy: "If A, then B. Therefore if not-B, then not-A."

Citing paywalled articles accessed via illegal web sharing

Early credit roll before the end of the film

Why do neural networks need so many training examples to perform?

Salsa20 Implementation: Sum of 2 Words with Carries Suppressed

Play Zip, Zap, Zop

How to assess the long-term stability of a college as part of a job search

How to make ice magic work from a scientific point of view?

How would an AI self awareness kill switch work?

Why did Democrats in the Senate oppose the Born-Alive Abortion Survivors Protection Act (2019 S.130)?

How much mayhem could I cause as a fish?



Login redirecting to Login Page


Force login to access catalog and product pagesLogin Form Redirecting to Login Page?













0















Please help! I have created a custom login form at https://cashino.kellyseye.com/ using the following code:



<div class="top-content-text cf m-all t-1of2 d-1of2 first">
<h3>Store Login</h3>
<div class="block block-login"><form
action="https://cashino.kellyseye.com/customer/account/loginPost/"
method="post">
<div class="block-content"><input id="mini-login" class="input-text"
spellcheck="false" type="email" placeholder="Email:" name="login[username]"
/> <input id="mini-password" class="input-text" type="password"
placeholder="Password:" name="login[password]" /> <input type="hidden"
value="&lt;?php echo Mage::getSingleton('core/session')-&gt;getFormKey() ?
&gt;" name="form_key" />
<div class="actions"><button class="button" type="submit"> <span>
<span>Login</span> </span> </button></div>
</div>
</form></div>
</div>
</div>


The issue is, when I enter my email and password, I am redirected to the login page and NOT logged in. Does anyone know why?



I have used the same code at https://beaconbingo.kellyseye.com/ and it works fine.










share|improve this question





























    0















    Please help! I have created a custom login form at https://cashino.kellyseye.com/ using the following code:



    <div class="top-content-text cf m-all t-1of2 d-1of2 first">
    <h3>Store Login</h3>
    <div class="block block-login"><form
    action="https://cashino.kellyseye.com/customer/account/loginPost/"
    method="post">
    <div class="block-content"><input id="mini-login" class="input-text"
    spellcheck="false" type="email" placeholder="Email:" name="login[username]"
    /> <input id="mini-password" class="input-text" type="password"
    placeholder="Password:" name="login[password]" /> <input type="hidden"
    value="&lt;?php echo Mage::getSingleton('core/session')-&gt;getFormKey() ?
    &gt;" name="form_key" />
    <div class="actions"><button class="button" type="submit"> <span>
    <span>Login</span> </span> </button></div>
    </div>
    </form></div>
    </div>
    </div>


    The issue is, when I enter my email and password, I am redirected to the login page and NOT logged in. Does anyone know why?



    I have used the same code at https://beaconbingo.kellyseye.com/ and it works fine.










    share|improve this question



























      0












      0








      0








      Please help! I have created a custom login form at https://cashino.kellyseye.com/ using the following code:



      <div class="top-content-text cf m-all t-1of2 d-1of2 first">
      <h3>Store Login</h3>
      <div class="block block-login"><form
      action="https://cashino.kellyseye.com/customer/account/loginPost/"
      method="post">
      <div class="block-content"><input id="mini-login" class="input-text"
      spellcheck="false" type="email" placeholder="Email:" name="login[username]"
      /> <input id="mini-password" class="input-text" type="password"
      placeholder="Password:" name="login[password]" /> <input type="hidden"
      value="&lt;?php echo Mage::getSingleton('core/session')-&gt;getFormKey() ?
      &gt;" name="form_key" />
      <div class="actions"><button class="button" type="submit"> <span>
      <span>Login</span> </span> </button></div>
      </div>
      </form></div>
      </div>
      </div>


      The issue is, when I enter my email and password, I am redirected to the login page and NOT logged in. Does anyone know why?



      I have used the same code at https://beaconbingo.kellyseye.com/ and it works fine.










      share|improve this question
















      Please help! I have created a custom login form at https://cashino.kellyseye.com/ using the following code:



      <div class="top-content-text cf m-all t-1of2 d-1of2 first">
      <h3>Store Login</h3>
      <div class="block block-login"><form
      action="https://cashino.kellyseye.com/customer/account/loginPost/"
      method="post">
      <div class="block-content"><input id="mini-login" class="input-text"
      spellcheck="false" type="email" placeholder="Email:" name="login[username]"
      /> <input id="mini-password" class="input-text" type="password"
      placeholder="Password:" name="login[password]" /> <input type="hidden"
      value="&lt;?php echo Mage::getSingleton('core/session')-&gt;getFormKey() ?
      &gt;" name="form_key" />
      <div class="actions"><button class="button" type="submit"> <span>
      <span>Login</span> </span> </button></div>
      </div>
      </form></div>
      </div>
      </div>


      The issue is, when I enter my email and password, I am redirected to the login page and NOT logged in. Does anyone know why?



      I have used the same code at https://beaconbingo.kellyseye.com/ and it works fine.







      magento-1.9.2






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 5 mins ago









      Teja Bhagavan Kollepara

      2,96341847




      2,96341847










      asked Aug 31 '18 at 14:11









      JordanJordan

      1




      1






















          1 Answer
          1






          active

          oldest

          votes


















          1
















          1. You have a issue in your formkey, It should generate a key something like value="74LCjTfVZawT" and not like value="<?php echo Mage::getSingleton('core/session')->getFormKey() ?>"



            Try to remove <input value="<?php echo Mage::getSingleton('core/session')->getFormKey() ?>" name="form_key" type="hidden"> then add <?php echo $this->getBlockHtml('formkey')?> just after the <form ..> tag.




          2. Check your login controller what you return on submit with the different cases.



            The controller path : app/code/core/Mage/Customer/controllers/AccountController.php::loginPostAction()




          Important : Don't update this controller direclty, if you have to add some updates, you must rewrite it in local, app/code/local instead of core, app/code/core.






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "479"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f240458%2flogin-redirecting-to-login-page%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1
















            1. You have a issue in your formkey, It should generate a key something like value="74LCjTfVZawT" and not like value="<?php echo Mage::getSingleton('core/session')->getFormKey() ?>"



              Try to remove <input value="<?php echo Mage::getSingleton('core/session')->getFormKey() ?>" name="form_key" type="hidden"> then add <?php echo $this->getBlockHtml('formkey')?> just after the <form ..> tag.




            2. Check your login controller what you return on submit with the different cases.



              The controller path : app/code/core/Mage/Customer/controllers/AccountController.php::loginPostAction()




            Important : Don't update this controller direclty, if you have to add some updates, you must rewrite it in local, app/code/local instead of core, app/code/core.






            share|improve this answer




























              1
















              1. You have a issue in your formkey, It should generate a key something like value="74LCjTfVZawT" and not like value="<?php echo Mage::getSingleton('core/session')->getFormKey() ?>"



                Try to remove <input value="<?php echo Mage::getSingleton('core/session')->getFormKey() ?>" name="form_key" type="hidden"> then add <?php echo $this->getBlockHtml('formkey')?> just after the <form ..> tag.




              2. Check your login controller what you return on submit with the different cases.



                The controller path : app/code/core/Mage/Customer/controllers/AccountController.php::loginPostAction()




              Important : Don't update this controller direclty, if you have to add some updates, you must rewrite it in local, app/code/local instead of core, app/code/core.






              share|improve this answer


























                1












                1








                1









                1. You have a issue in your formkey, It should generate a key something like value="74LCjTfVZawT" and not like value="<?php echo Mage::getSingleton('core/session')->getFormKey() ?>"



                  Try to remove <input value="<?php echo Mage::getSingleton('core/session')->getFormKey() ?>" name="form_key" type="hidden"> then add <?php echo $this->getBlockHtml('formkey')?> just after the <form ..> tag.




                2. Check your login controller what you return on submit with the different cases.



                  The controller path : app/code/core/Mage/Customer/controllers/AccountController.php::loginPostAction()




                Important : Don't update this controller direclty, if you have to add some updates, you must rewrite it in local, app/code/local instead of core, app/code/core.






                share|improve this answer















                1. You have a issue in your formkey, It should generate a key something like value="74LCjTfVZawT" and not like value="<?php echo Mage::getSingleton('core/session')->getFormKey() ?>"



                  Try to remove <input value="<?php echo Mage::getSingleton('core/session')->getFormKey() ?>" name="form_key" type="hidden"> then add <?php echo $this->getBlockHtml('formkey')?> just after the <form ..> tag.




                2. Check your login controller what you return on submit with the different cases.



                  The controller path : app/code/core/Mage/Customer/controllers/AccountController.php::loginPostAction()




                Important : Don't update this controller direclty, if you have to add some updates, you must rewrite it in local, app/code/local instead of core, app/code/core.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Aug 31 '18 at 14:35









                PЯINCƏPЯINCƏ

                8,06831142




                8,06831142






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Magento Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f240458%2flogin-redirecting-to-login-page%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    “%fieldName is a required field.”, in Magento2 REST API Call for GET Method Type The Next...

                    How to change City field to a dropdown in Checkout step Magento 2Magento 2 : How to change UI field(s)...

                    夢乃愛華...