MyBB Community Forums
[Rejected] Users can't login - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Development (https://community.mybb.com/forum-161.html)
+--- Forum: MyBB 1.8 Development (https://community.mybb.com/forum-165.html)
+---- Forum: 1.8 Bugs and Issues (https://community.mybb.com/forum-157.html)
+----- Forum: Rejected (https://community.mybb.com/forum-184.html)
+----- Thread: [Rejected] Users can't login (/thread-218458.html)

Pages: 1 2


Users can't login - Lyvyoo - 2018-07-05

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?
   


RE: Users can't login - Euan T - 2018-07-05

Please use the Find Updated Templates tool in ACP > Templates & Style > Templates > Find Updated Templates.

You need to update the header_welcomeblock_guest template.


RE: Users can't login - Lyvyoo - 2018-07-05

Thanks,
Saying "update" you mean "Revert to Original" from Options?


RE: Users can't login - Euan T - 2018-07-05

(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}" />



RE: Users can't login - Lyvyoo - 2018-07-05

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?


   


RE: Users can't login - Euan T - 2018-07-05

Can you post your full header_welcomeblock_guest template as it currently is?


RE: Users can't login - Lyvyoo - 2018-07-05

Here it is
Square theme


RE: Users can't login - StefanT - 2018-07-05

The following code is missing from your template:
<input name="my_post_key" type="hidden" value="{$mybb->post_code}" />



RE: Users can't login - Lyvyoo - 2018-07-05

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
   


RE: Users can't login - effone - 2018-07-05

Green highlight represents 'new addition', not 'already present'.