• Login
  • Register
  • Login Register
    Login
    Username:
    Password:
  • Home
  • Members
  • Team
  • Help
  • More
    • YouTube
    • Facebook
User Links
  • Login
  • Register
  • Login Register
    Login
    Username:
    Password:

    Quick Links Home Members Team Help
    More Subscribe YouTube Facebook
    D&D Forums - MyBB Plugins & Themes MyBB Ressources Free MyBB Themes Support LOGIN ERROR FROM EMERALD

     
    • 0 Vote(s) - 0 Average
    LOGIN ERROR FROM EMERALD
    OnlyTechNation
    Offline

    Junior Member

    Posts: 4
    Threads: 2
    Joined: Oct 2018
    Reputation: 0
    #7
    10-26-2018, 04:25 PM (This post was last modified: 10-26-2018, 04:27 PM by OnlyTechNation.)
    (10-22-2018, 01:39 AM)BlazeMC Wrote: Hello. Before I start to write, I would like to point out that I am from Germany and therefore can not speak English so well. Sorry about my mistakes!

    I have the problem, if I want to log in to the website, the following text is there:
    Wrong authorization code! Do you access this feature in the usual way? Please go back and try again.

    I use version 1.5.

    I never get an e-mail either. Do you know why that could be?

    Sincerely: Jojo

    Quote:Shade (MyBB Former Staff) Wrote

    MyBB 1.8.16 introduces some crucial changes aimed towards better security regarding users authentication. Templates containing login forms must be updated in order to comply with these changes; otherwise, you will stumble upon the following error:

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

    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:

    Code:
    <input name="my_post_key" type="hidden" value="{$mybb->post_code}" />

    None
    Select All

    It's that simple. Your users will now be able to login again. my_post_key input is in fact now mandatory to be sent alongside other form parameters in order to reduce potential malicious attacks.

    Note that upgrade scripts will revert naïve templates and will handle the change automatically. This guide is aimed at all who have custom themes with these templates customized.
    You must edit this in ALL your installed themes if the code is not in your templates already. Some custom themes DO NOT have the <form action="member.php"> or are differently named, just put the new code underneath the code that looks similar to the code.

    This is the only fix right now for this issue. Just follow the steps and you will fix your issue.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)



    Messages In This Thread
    LOGIN ERROR FROM EMERALD - by BlazeMC - 10-22-2018, 01:39 AM
    RE: LOGIN ERROR FROM EMERALD - by AmazOuz - 10-23-2018, 07:30 PM
    RE: LOGIN ERROR FROM EMERALD - by BlazeMC - 10-24-2018, 10:08 AM
    RE: LOGIN ERROR FROM EMERALD - by AmazOuz - 10-24-2018, 07:03 PM
    RE: LOGIN ERROR FROM EMERALD - by BlazeMC - 10-25-2018, 06:08 AM
    RE: LOGIN ERROR FROM EMERALD - by AmazOuz - 10-26-2018, 02:54 AM
    RE: LOGIN ERROR FROM EMERALD - by BlazeMC - 10-26-2018, 10:07 PM
    RE: LOGIN ERROR FROM EMERALD - by OnlyTechNation - 10-26-2018, 04:25 PM
    RE: LOGIN ERROR FROM EMERALD - by Lewis-H - 10-23-2020, 11:41 AM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    D&D Company

    Home · Members · Team · Help · Contact

    © D&D - Powered by MyBB

    Paris, France

    07 53 04 58 86

    business@developement.design

    About the company We are a growing company of web developers & designers, specialized in MyBB plugins & themes. Our work is our propaganda.

    Linear Mode
    Threaded Mode