MyBB Community Forums

Full Version: Users can't login
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
After update to 1.8.16 some users report that can't login in forum.
There is a template to revert that could cause the problem?
[attachment=40555]
Please use the Find Updated Templates tool in ACP > Templates & Style > Templates > Find Updated Templates.

You need to update the header_welcomeblock_guest template.
Thanks,
Saying "update" you mean "Revert to Original" from Options?
(2018-07-05, 07:12 PM)Lyvyoo Wrote: [ -> ]Thanks,
Saying "update" you mean  "Revert to Original" from Options?

Depends upon your theme. If your theme has modified that template on purpose or you have any plugins that have added to it, you need to use the "Diff" tool to work out what is different. In order to let people login, you need to add the following to the template:

Find:

<input name="quick_login" type="hidden" value="1" />

Add after:

<input name="my_post_key" type="hidden" value="{$mybb->post_code}" />
I analyzed the code with option Diff and it appear that

<input name="my_post_key" type="hidden" value="{$mybb->post_code}" /> 

is present, but in another place.

Do you reccomend to cut this line and move under 


<input name="quick_login" type="hidden" value="1" /> 

or duplicate it?


[attachment=40556]
Can you post your full header_welcomeblock_guest template as it currently is?
Here it is
Square theme
The following code is missing from your template:
<input name="my_post_key" type="hidden" value="{$mybb->post_code}" />
Ohh...yes!
But why it apear in Find Updatated Templates / Square / header_welcomeblock_guest ?
I belived that if it is marked in green it is present in Templates / Square Templates / header_welcomeblock_guest
[attachment=40557]
Green highlight represents 'new addition', not 'already present'.
Pages: 1 2