MyBB Community Forums

Full Version: Login problem: Authorization code mismatch
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
My website link: http://forums.likebd.com/
it's login problem.
Step1: When i try to login from home page it's show this error.
Quote:Authorization code mismatch. Are you accessing this function correctly? Please go back and try again.
 https://prntscr.com/ojobto
 https://prntscr.com/ojoc1m

Step2: when try to login from portal page than i  successfully login .
https://prntscr.com/ojoc5o
https://prntscr.com/ojoc7o


Please give me solution i upgrate latest mybb. Please moderator and admin help me.
For MyBB, follow these steps:
https://community.mybb.com/thread-218460...pid1308277

For gomobile plugin, you need to ask in the plugin support thread.
I found a soldve by adding footer this code

<!--Authorization code mismatch problem solved by this javascript code -->

<script>$('form :input[value="do_login"]').after('<input type="hidden" name="my_post_key" value="'+my_post_key+'" />');</script>
(2019-07-25, 02:57 AM)hasanmallick Wrote: [ -> ]I found a soldve by adding footer this code

<!--Authorization code mismatch problem solved by this javascript code  -->

<script>$('form :input[value="do_login"]').after('<input type="hidden" name="my_post_key" value="'+my_post_key+'" />');</script>

This might work, but it is not the proper way to update your templates.
"error_nopermission
header_welcomeblock_guest
member_login
portal_welcome_guesttext"

I try to add this code :
<input name="my_post_key" type="hidden" value="{$mybb->post_code}" />
after after <form action="member.php">
but it's not update it's show permission problem see screensort .
I try to update http://prntscr.com/oq667j

Only one templete update successfull that is, error_nopermission