Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Login Form Redirecting to Login Page

Featured Replies

I have added the following code to the page https://magento.kellyseye.com/

<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>

Unfortunately, when I enter my credentials and click "Login", I am redirected to the login page, where I have to add my credentials once again.

On other pages for example https://beaconbingo.kellyseye.com/ I have no problem logging in from the form on the homepage.

Why is this?

Mate it's your key again, inspecting in Chrome your php is outputting to the page on beacon;

<input type="hidden" value="<?php echo Mage::getSingleton('core/session')->getFormKey() ?>" name="form_key">

and on your example above;

<input type="hidden" value="&lt;?php echo Mage::getSingleton('core/session')-&gt;getFormKey() ?&gt;" name="form_key" />

it has the special characters turned to html!

<?php
$something = Mage::getSingleton('core/session')->getFormKey();
echo $something;
?>

What does that echo?

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.