Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2008
    Posts
    56
    Plugin Contributions
    0

    Default Login Header security error

    I installed the Login Header module in 1.3.8a. When you go to login you get the warning: There was a security error when trying to login.

    I read about a token key in the sidebox login. How would I add that to this module?

    Here is the code it probably would be added to:
    HTML Code:
    <table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
    <tr> 
    <td align=\"right\" valign=\"middle\" class=\"boxText\">" . ACCOUNT_BOX_EMAIL_ADDRESS . 
    "</td>
    <td align=\"right\" valign=\"middle\" class=\"boxText\">" . zen_draw_input_field('email_address', 
    '', 'size="10"') . "</td></tr>
    <tr> 
    <td align=\"right\" valign=\"middle\" class=\"boxText\">" . ACCOUNT_BOX_PASSWORD . "</td>
    <td align=\"right\" valign=\"middle\" class=\"boxText\">" . zen_draw_password_field('password', 
    '', 'size="10"') . "</td>
    <td align=\"right\" valign=\"center\" class=\"boxText\">" . '&nbsp;<input type="submit" value="' . HEADER_TITLE_LOGIN . '" style="width:40px" />' . "</td>
    <td> " . '<a class="menu" href="' . zen_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . '">' 
    . ACCOUNT_BOX_PASSWORD_FORGOTTEN . '</a>&nbsp;' . " " . '&nbsp;<a class="menu" href="' . zen_href_link(FILENAME_LOGIN, '', 'SSL') . '">' 
    . ACCOUNT_BOX_CREATE_ACCOUNT . '</a>' . "</td></tr>
    </table>

  2. #2
    Join Date
    Feb 2008
    Posts
    56
    Plugin Contributions
    0

    Default Re: Login Header security error

    I added
    HTML Code:
      $content .= zen_draw_hidden_field('securityToken', $_SESSION['securityToken']);
    right after </form> ";

    Which took the security error away, but it still brings you to the account login page.

 

 

Similar Threads

  1. Customer Login 'There was a security error when trying to login'
    By webzuma in forum Managing Customers and Orders
    Replies: 26
    Last Post: 11 Jun 2010, 04:21 PM
  2. 10002 Security error - Security header is not valid
    By helpme in forum Upgrading from 1.3.x to 1.3.9
    Replies: 6
    Last Post: 28 Nov 2009, 03:17 AM
  3. There was a security error when trying to login.
    By Letum in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 29 May 2008, 01:47 AM
  4. There was a security error when trying to login.
    By guysoul in forum General Questions
    Replies: 2
    Last Post: 19 Mar 2008, 02:09 PM
  5. 10002 Security error - Security header is not valid
    By Patrick Sheffield in forum PayPal Express Checkout support
    Replies: 7
    Last Post: 9 Jan 2008, 11:12 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •