News:

Wondering if this will always be free?  See why free is better.

Main Menu

Login.template.php

Started by Chen Zhen, June 01, 2017, 08:17:44 PM

Previous topic - Next topic

Chen Zhen


re. SMF 2.0.14

There were some updates to this package/patch that included the hidden session variable within any login form due to the added session check in the Login2() function.
One hidden session variable was overlooked/neglected within the login form for the template_admin_login() function in ../Themes/default/Login.template.php

find:

<input type="hidden" name="admin_hash_pass" value="" />


add after:

<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />


Perhaps some of the reports of this error are related:
Quote
Unable to verify referring url. Please go back and try again.


My SMF Mods & Plug-Ins

WebDev

SMF support staff should be shaping a positive community experience & not provoking an argument or emotional reaction.

Sir Osis of Liver

Does this affect all member logins or just admins?  Ran into this problem here, had to disable session check in LogInOut.php to fix it.
When in Emor, do as the Snamors.
                              - D. Lister

Advertisement: