MyBB Community Forums

Full Version: Authorization code mismatch
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello

My forum https://combocenter.com

I am getting the folowing error whenever someone tries to login. 

Authorization code mismatch. Are you accessing this function correctly? Please go back and try again.


I have already tried the fix that was mentioned in various threads. I pasted the code in the mentioned templates but it did not do anything. 


I did the upgrade recently. I am using the theme bootBB responsive. 

im use also this thread but not working https://community.mybb.com/thread-218862.html

thanks 
(2018-07-30, 10:49 AM)combocenter Wrote: [ -> ]Hello

My forum https://combocenter.com

I am getting the folowing error whenever someone tries to login. 

Authorization code mismatch. Are you accessing this function correctly? Please go back and try again.


I have already tried the fix that was mentioned in various threads. I pasted the code in the mentioned templates but it did not do anything. 


I did the upgrade recently. I am using the theme bootBB responsive. 

im use also this thread but not working https://community.mybb.com/thread-218862.html

thanks 

Have you tried logging in using the default MyBB theme?

Report back to us after you have tried the default theme.
(2018-07-30, 10:53 AM)Serpius Wrote: [ -> ]
(2018-07-30, 10:49 AM)combocenter Wrote: [ -> ]Hello

My forum https://combocenter.com

I am getting the folowing error whenever someone tries to login. 

Authorization code mismatch. Are you accessing this function correctly? Please go back and try again.


I have already tried the fix that was mentioned in various threads. I pasted the code in the mentioned templates but it did not do anything. 


I did the upgrade recently. I am using the theme bootBB responsive. 

im use also this thread but not working https://community.mybb.com/thread-218862.html

thanks 

Have you tried logging in using the default MyBB theme?

Report back to us after you have tried the default theme.

i can loggin in defult theme not probleme .
but cant in my custome theme.
(2018-07-30, 11:34 AM)combocenter Wrote: [ -> ]
(2018-07-30, 10:53 AM)Serpius Wrote: [ -> ]
(2018-07-30, 10:49 AM)combocenter Wrote: [ -> ]Hello

My forum https://combocenter.com

I am getting the folowing error whenever someone tries to login. 

Authorization code mismatch. Are you accessing this function correctly? Please go back and try again.


I have already tried the fix that was mentioned in various threads. I pasted the code in the mentioned templates but it did not do anything. 


I did the upgrade recently. I am using the theme bootBB responsive. 

im use also this thread but not working https://community.mybb.com/thread-218862.html

thanks 

Have you tried logging in using the default MyBB theme?

Report back to us after you have tried the default theme.

i can loggin in defult theme not probleme .
but cant in my custome theme.

Look at the screenshot. You still need to fix your custom theme.

[Image: d067177a56c14f5b7931e73689ce0fc4.png]
thank you for answering but not working yet :-(
Your current theme is not showing the new my_post_key form code. Open header_welcomeblock_guest

Replace this
<form method="post" action="{$mybb->settings['bburl']}/member.php">
						<input name="action" type="hidden" value="do_login" />
						<input name="url" type="hidden" value="" />
						<input name="quick_login" type="hidden" value="1" />

with this
		<form method="post" action="{$mybb->settings['bburl']}/member.php">
						<input name="action" type="hidden" value="do_login" />
						<input name="url" type="hidden" value="" />
						<input name="quick_login" type="hidden" value="1" />
						<input name="my_post_key" type="hidden" value="{$mybb->post_code}" />
(2018-07-30, 09:51 PM)iAndrew Wrote: [ -> ]Your current theme is not showing the new my_post_key form code. Open header_welcomeblock_guest

Replace this
<form method="post" action="{$mybb->settings['bburl']}/member.php">
						<input name="action" type="hidden" value="do_login" />
						<input name="url" type="hidden" value="" />
						<input name="quick_login" type="hidden" value="1" />

with this
		<form method="post" action="{$mybb->settings['bburl']}/member.php">
						<input name="action" type="hidden" value="do_login" />
						<input name="url" type="hidden" value="" />
						<input name="quick_login" type="hidden" value="1" />
						<input name="my_post_key" type="hidden" value="{$mybb->post_code}" />

thank you dear , worked. :X