MyBB Community Forums

Full Version: error message during login
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Got the next error message (translated from Dutch) when I want to login. 
" The authorisatiecodes do not match. Are you using this feature on the right way? Please go back and try again."

I can't login at the moment on my own forum as a forum member.

What to do?
I did find some of what is in that thread, but nothing chanced.
Do you know exactly what to chance and how many lines do I have to chance?
Can I copy some of the template so you can have a look at it?
I opend all the templates and searched for 'login'. in those templates I was looking for <form action="member.php" *> and add the token as written.
don't have a clue what I have to do.
got the forum at: http://forum.alpaca-ranch.nl/
Basically you need to place and include post key in any and every login form in a hidden field in order to get the key submitted alongwith the form data. Wherever in templates login form exists this is required, in every single theme you have installed.
Alright, this is not the recommended way, but if you are completely stuck and can't do the modifications manually just add this line in your footer template and it will handle the rest of the templates, wherever applicable:

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