MyBB Community Forums

Full Version: Authorization code mismatch? Little Problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've already followed this instruction: https://community.mybb.com/thread-218862.html

Quote:If you have upgraded to 1.8.16 or above, please read the following instructions carefully.

Templates requiring changes:
error_nopermission
header_welcomeblock_guest
member_login
portal_welcome_guesttext
1. Localize form tag
Open each template and look for <form action="member.php" *>. They are the forms you use when logging in. The form tag will likely include other attributes, which you can ignore.

2. Add token
Add after <form action="member.php"> the following piece of code:

<input name="my_post_key" type="hidden" value="{$mybb->post_code}" />
At first it worked but now its not working again, from the Home page pressing login button will redirect me to
"Authorization code mismatch. Are you accessing this function correctly? Please go back and try again."
But from that page when I do the login process I will work..
Thank you so much sir!