Forums / All Other Contributions/Addons / Login Header security error

Login Header security error

Locked

Started by shokuf on 11 Jun 2008, 1:55 PM · Views: 1,066

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
11 Jun 2008, 1:55 PM
#1
shokuf avatar

shokuf

New Zenner

Join Date:
Feb 2008
Posts:
56
Plugin Contributions:
0

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:

<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\">" . ' <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> ' . " " . ' <a class="menu" href="' . zen_href_link(FILENAME_LOGIN, '', 'SSL') . '">' 
. ACCOUNT_BOX_CREATE_ACCOUNT . '</a>' . "</td></tr>
</table>
11 Jun 2008, 2:41 PM
#2
shokuf avatar

shokuf

New Zenner

Join Date:
Feb 2008
Posts:
56
Plugin Contributions:
0

Re: Login Header security error

I added

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