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

"Either you repeat the same conventional doctrines everybody is saying, or else you say something true, and it will sound like it's from Neptune." - Noam Chomsky

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.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Advertisement: