Magento 2 did not sign in correctly or your account is temporarily disabled












12















When trying to login to admin account in my local test setup it says : Account is temporarily disabled even i used correct user and password.










share|improve this question



























    12















    When trying to login to admin account in my local test setup it says : Account is temporarily disabled even i used correct user and password.










    share|improve this question

























      12












      12








      12


      4






      When trying to login to admin account in my local test setup it says : Account is temporarily disabled even i used correct user and password.










      share|improve this question














      When trying to login to admin account in my local test setup it says : Account is temporarily disabled even i used correct user and password.







      magento2 magento-2.1 magento-2.0.2






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jul 25 '16 at 9:50









      Yogesh TrivediYogesh Trivedi

      1,89911224




      1,89911224






















          6 Answers
          6






          active

          oldest

          votes


















          25














          After some search on internet i found that due to security reason Magento have introduced account disabled functionality with considering security of business.



          Here is how you can unlock and
          Go to your Magento root folder via FTP, SSH or SFTP



          Then Run following command




          php bin/magento admin:user:unlock ADMINUSERNAME




          Or jump in to bin directory from magento root: cd bin/



          and then run command




          php magento admin:user:unlock ADMINUSERNAME




          For Reference, check here http://devdocs.magento.com/guides/v2.0/install-gde/install/cli/install-cli-subcommands-admin.html






          share|improve this answer

































            13














            Please try to reset username and password . I have tried the following code that works for me.



            sudo php bin/magento admin:user:create --admin-user="pearlbells" --admin-password="pear122l**all" --admin-email="pearl@gmail.com" --admin-firstname="Admin" --admin-lastname="Admin"





            share|improve this answer
























            • This solution worked for me

              – WaPoNe
              Jul 26 '17 at 13:52











            • Is this working on magento enterprise version?

              – Camit1dk
              Aug 3 '17 at 6:51











            • Billion Thanks.This saved my time @Liz Eipe C

              – anil
              Sep 27 '18 at 12:03



















            5














            I struggled to solve this when working with multiple environments, and I think Jairmin's answer might help stop this happen, but once it has I found the following steps solved the problem:




            • Try what Yogesh Trivedi suggested, though this did not work for me


            If that did not help, do the next 3 in order without trying to login in between:




            • Truncate the mage_admin_user_session table

            • In the mage_admin_user table reset failures_num to 0 and first_failure to NULL for the relevant user(s)

            • Reset password via the front end option (not directly in the DB)


            This is obviously fairly aggressive and should only be done if you haven't been able to get in any other way.






            share|improve this answer
























            • my answer was for to unlock user which is locked it means you can not login to admin panel with that particular user, so first you need to unlock the user then only you can login and follow the Jaimin's step for configuring password life.

              – Yogesh Trivedi
              May 23 '17 at 6:42













            • @YogeshTrivedi I've had it whereby you have the exact same thing, message on logging into the admin panel, but unlocking the user like you described had no effect.

              – tim.baker
              May 23 '17 at 6:43











            • i am not sure but it worked for me and i got to learn this from Magento official website, check it here - devdocs.magento.com/guides/v2.0/install-gde/install/cli/…

              – Yogesh Trivedi
              May 23 '17 at 10:08



















            2














            In magento 2, there is configuration for set Password Lifetime (days). It means if user didn't login in admin specific days then account will be locked.



            For set this days go to Stores > Configuration > Advanced > Admin > Security and set value for Password Lifetime (days) .






            share|improve this answer































              0














              But to prevent this from happening, my experience shows admin users passwords, should not be a mix of upper and lowercase charters or include symbols. I know, I know! this goes against all logic with regards to secure passwords, especially those necessary for admin users, but it is like that. So just make them very long, I would suggest in access of 14 characters.






              share|improve this answer































                0














                I tried this options and various other options but none worked for me :



                I followed this :



                1./opt/bitnami/apps/magento/htdocs/vendor/zendframework/zend-crypt/src



                updated utils.php to following:



                Go to this file path and vendorzendframeworkzend-cryptsrcUtils.php and echo $expected and $actual variable and check both are same or not if both variable are not match then change line no 35



                if (function_exists('hash_equals')) { return hash_equals($expected, $actual); }



                To



                if (function_exists('hash_equals')) { return true; }



                for direct access to magento admin with any password and then change password and revert back code changes



                This solution work for me



                OLD CODE:



                 if (function_exists('hash_equals')) {
                return hash_equals($expected, $actual);


                NEW CODE:



                if (function_exists('hash_equals')) { return true; }



                It should work for you





                share








                New contributor




                Big Bang Things Consultants is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.




















                  Your Answer








                  StackExchange.ready(function() {
                  var channelOptions = {
                  tags: "".split(" "),
                  id: "479"
                  };
                  initTagRenderer("".split(" "), "".split(" "), channelOptions);

                  StackExchange.using("externalEditor", function() {
                  // Have to fire editor after snippets, if snippets enabled
                  if (StackExchange.settings.snippets.snippetsEnabled) {
                  StackExchange.using("snippets", function() {
                  createEditor();
                  });
                  }
                  else {
                  createEditor();
                  }
                  });

                  function createEditor() {
                  StackExchange.prepareEditor({
                  heartbeatType: 'answer',
                  autoActivateHeartbeat: false,
                  convertImagesToLinks: false,
                  noModals: true,
                  showLowRepImageUploadWarning: true,
                  reputationToPostImages: null,
                  bindNavPrevention: true,
                  postfix: "",
                  imageUploader: {
                  brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                  contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                  allowUrls: true
                  },
                  onDemand: true,
                  discardSelector: ".discard-answer"
                  ,immediatelyShowMarkdownHelp:true
                  });


                  }
                  });














                  draft saved

                  draft discarded


















                  StackExchange.ready(
                  function () {
                  StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f127245%2fmagento-2-did-not-sign-in-correctly-or-your-account-is-temporarily-disabled%23new-answer', 'question_page');
                  }
                  );

                  Post as a guest















                  Required, but never shown

























                  6 Answers
                  6






                  active

                  oldest

                  votes








                  6 Answers
                  6






                  active

                  oldest

                  votes









                  active

                  oldest

                  votes






                  active

                  oldest

                  votes









                  25














                  After some search on internet i found that due to security reason Magento have introduced account disabled functionality with considering security of business.



                  Here is how you can unlock and
                  Go to your Magento root folder via FTP, SSH or SFTP



                  Then Run following command




                  php bin/magento admin:user:unlock ADMINUSERNAME




                  Or jump in to bin directory from magento root: cd bin/



                  and then run command




                  php magento admin:user:unlock ADMINUSERNAME




                  For Reference, check here http://devdocs.magento.com/guides/v2.0/install-gde/install/cli/install-cli-subcommands-admin.html






                  share|improve this answer






























                    25














                    After some search on internet i found that due to security reason Magento have introduced account disabled functionality with considering security of business.



                    Here is how you can unlock and
                    Go to your Magento root folder via FTP, SSH or SFTP



                    Then Run following command




                    php bin/magento admin:user:unlock ADMINUSERNAME




                    Or jump in to bin directory from magento root: cd bin/



                    and then run command




                    php magento admin:user:unlock ADMINUSERNAME




                    For Reference, check here http://devdocs.magento.com/guides/v2.0/install-gde/install/cli/install-cli-subcommands-admin.html






                    share|improve this answer




























                      25












                      25








                      25







                      After some search on internet i found that due to security reason Magento have introduced account disabled functionality with considering security of business.



                      Here is how you can unlock and
                      Go to your Magento root folder via FTP, SSH or SFTP



                      Then Run following command




                      php bin/magento admin:user:unlock ADMINUSERNAME




                      Or jump in to bin directory from magento root: cd bin/



                      and then run command




                      php magento admin:user:unlock ADMINUSERNAME




                      For Reference, check here http://devdocs.magento.com/guides/v2.0/install-gde/install/cli/install-cli-subcommands-admin.html






                      share|improve this answer















                      After some search on internet i found that due to security reason Magento have introduced account disabled functionality with considering security of business.



                      Here is how you can unlock and
                      Go to your Magento root folder via FTP, SSH or SFTP



                      Then Run following command




                      php bin/magento admin:user:unlock ADMINUSERNAME




                      Or jump in to bin directory from magento root: cd bin/



                      and then run command




                      php magento admin:user:unlock ADMINUSERNAME




                      For Reference, check here http://devdocs.magento.com/guides/v2.0/install-gde/install/cli/install-cli-subcommands-admin.html







                      share|improve this answer














                      share|improve this answer



                      share|improve this answer








                      edited May 23 '17 at 10:10

























                      answered Jul 25 '16 at 9:50









                      Yogesh TrivediYogesh Trivedi

                      1,89911224




                      1,89911224

























                          13














                          Please try to reset username and password . I have tried the following code that works for me.



                          sudo php bin/magento admin:user:create --admin-user="pearlbells" --admin-password="pear122l**all" --admin-email="pearl@gmail.com" --admin-firstname="Admin" --admin-lastname="Admin"





                          share|improve this answer
























                          • This solution worked for me

                            – WaPoNe
                            Jul 26 '17 at 13:52











                          • Is this working on magento enterprise version?

                            – Camit1dk
                            Aug 3 '17 at 6:51











                          • Billion Thanks.This saved my time @Liz Eipe C

                            – anil
                            Sep 27 '18 at 12:03
















                          13














                          Please try to reset username and password . I have tried the following code that works for me.



                          sudo php bin/magento admin:user:create --admin-user="pearlbells" --admin-password="pear122l**all" --admin-email="pearl@gmail.com" --admin-firstname="Admin" --admin-lastname="Admin"





                          share|improve this answer
























                          • This solution worked for me

                            – WaPoNe
                            Jul 26 '17 at 13:52











                          • Is this working on magento enterprise version?

                            – Camit1dk
                            Aug 3 '17 at 6:51











                          • Billion Thanks.This saved my time @Liz Eipe C

                            – anil
                            Sep 27 '18 at 12:03














                          13












                          13








                          13







                          Please try to reset username and password . I have tried the following code that works for me.



                          sudo php bin/magento admin:user:create --admin-user="pearlbells" --admin-password="pear122l**all" --admin-email="pearl@gmail.com" --admin-firstname="Admin" --admin-lastname="Admin"





                          share|improve this answer













                          Please try to reset username and password . I have tried the following code that works for me.



                          sudo php bin/magento admin:user:create --admin-user="pearlbells" --admin-password="pear122l**all" --admin-email="pearl@gmail.com" --admin-firstname="Admin" --admin-lastname="Admin"






                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered May 26 '17 at 12:31









                          Liz Eipe CLiz Eipe C

                          60956




                          60956













                          • This solution worked for me

                            – WaPoNe
                            Jul 26 '17 at 13:52











                          • Is this working on magento enterprise version?

                            – Camit1dk
                            Aug 3 '17 at 6:51











                          • Billion Thanks.This saved my time @Liz Eipe C

                            – anil
                            Sep 27 '18 at 12:03



















                          • This solution worked for me

                            – WaPoNe
                            Jul 26 '17 at 13:52











                          • Is this working on magento enterprise version?

                            – Camit1dk
                            Aug 3 '17 at 6:51











                          • Billion Thanks.This saved my time @Liz Eipe C

                            – anil
                            Sep 27 '18 at 12:03

















                          This solution worked for me

                          – WaPoNe
                          Jul 26 '17 at 13:52





                          This solution worked for me

                          – WaPoNe
                          Jul 26 '17 at 13:52













                          Is this working on magento enterprise version?

                          – Camit1dk
                          Aug 3 '17 at 6:51





                          Is this working on magento enterprise version?

                          – Camit1dk
                          Aug 3 '17 at 6:51













                          Billion Thanks.This saved my time @Liz Eipe C

                          – anil
                          Sep 27 '18 at 12:03





                          Billion Thanks.This saved my time @Liz Eipe C

                          – anil
                          Sep 27 '18 at 12:03











                          5














                          I struggled to solve this when working with multiple environments, and I think Jairmin's answer might help stop this happen, but once it has I found the following steps solved the problem:




                          • Try what Yogesh Trivedi suggested, though this did not work for me


                          If that did not help, do the next 3 in order without trying to login in between:




                          • Truncate the mage_admin_user_session table

                          • In the mage_admin_user table reset failures_num to 0 and first_failure to NULL for the relevant user(s)

                          • Reset password via the front end option (not directly in the DB)


                          This is obviously fairly aggressive and should only be done if you haven't been able to get in any other way.






                          share|improve this answer
























                          • my answer was for to unlock user which is locked it means you can not login to admin panel with that particular user, so first you need to unlock the user then only you can login and follow the Jaimin's step for configuring password life.

                            – Yogesh Trivedi
                            May 23 '17 at 6:42













                          • @YogeshTrivedi I've had it whereby you have the exact same thing, message on logging into the admin panel, but unlocking the user like you described had no effect.

                            – tim.baker
                            May 23 '17 at 6:43











                          • i am not sure but it worked for me and i got to learn this from Magento official website, check it here - devdocs.magento.com/guides/v2.0/install-gde/install/cli/…

                            – Yogesh Trivedi
                            May 23 '17 at 10:08
















                          5














                          I struggled to solve this when working with multiple environments, and I think Jairmin's answer might help stop this happen, but once it has I found the following steps solved the problem:




                          • Try what Yogesh Trivedi suggested, though this did not work for me


                          If that did not help, do the next 3 in order without trying to login in between:




                          • Truncate the mage_admin_user_session table

                          • In the mage_admin_user table reset failures_num to 0 and first_failure to NULL for the relevant user(s)

                          • Reset password via the front end option (not directly in the DB)


                          This is obviously fairly aggressive and should only be done if you haven't been able to get in any other way.






                          share|improve this answer
























                          • my answer was for to unlock user which is locked it means you can not login to admin panel with that particular user, so first you need to unlock the user then only you can login and follow the Jaimin's step for configuring password life.

                            – Yogesh Trivedi
                            May 23 '17 at 6:42













                          • @YogeshTrivedi I've had it whereby you have the exact same thing, message on logging into the admin panel, but unlocking the user like you described had no effect.

                            – tim.baker
                            May 23 '17 at 6:43











                          • i am not sure but it worked for me and i got to learn this from Magento official website, check it here - devdocs.magento.com/guides/v2.0/install-gde/install/cli/…

                            – Yogesh Trivedi
                            May 23 '17 at 10:08














                          5












                          5








                          5







                          I struggled to solve this when working with multiple environments, and I think Jairmin's answer might help stop this happen, but once it has I found the following steps solved the problem:




                          • Try what Yogesh Trivedi suggested, though this did not work for me


                          If that did not help, do the next 3 in order without trying to login in between:




                          • Truncate the mage_admin_user_session table

                          • In the mage_admin_user table reset failures_num to 0 and first_failure to NULL for the relevant user(s)

                          • Reset password via the front end option (not directly in the DB)


                          This is obviously fairly aggressive and should only be done if you haven't been able to get in any other way.






                          share|improve this answer













                          I struggled to solve this when working with multiple environments, and I think Jairmin's answer might help stop this happen, but once it has I found the following steps solved the problem:




                          • Try what Yogesh Trivedi suggested, though this did not work for me


                          If that did not help, do the next 3 in order without trying to login in between:




                          • Truncate the mage_admin_user_session table

                          • In the mage_admin_user table reset failures_num to 0 and first_failure to NULL for the relevant user(s)

                          • Reset password via the front end option (not directly in the DB)


                          This is obviously fairly aggressive and should only be done if you haven't been able to get in any other way.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered May 11 '17 at 14:43









                          tim.bakertim.baker

                          558825




                          558825













                          • my answer was for to unlock user which is locked it means you can not login to admin panel with that particular user, so first you need to unlock the user then only you can login and follow the Jaimin's step for configuring password life.

                            – Yogesh Trivedi
                            May 23 '17 at 6:42













                          • @YogeshTrivedi I've had it whereby you have the exact same thing, message on logging into the admin panel, but unlocking the user like you described had no effect.

                            – tim.baker
                            May 23 '17 at 6:43











                          • i am not sure but it worked for me and i got to learn this from Magento official website, check it here - devdocs.magento.com/guides/v2.0/install-gde/install/cli/…

                            – Yogesh Trivedi
                            May 23 '17 at 10:08



















                          • my answer was for to unlock user which is locked it means you can not login to admin panel with that particular user, so first you need to unlock the user then only you can login and follow the Jaimin's step for configuring password life.

                            – Yogesh Trivedi
                            May 23 '17 at 6:42













                          • @YogeshTrivedi I've had it whereby you have the exact same thing, message on logging into the admin panel, but unlocking the user like you described had no effect.

                            – tim.baker
                            May 23 '17 at 6:43











                          • i am not sure but it worked for me and i got to learn this from Magento official website, check it here - devdocs.magento.com/guides/v2.0/install-gde/install/cli/…

                            – Yogesh Trivedi
                            May 23 '17 at 10:08

















                          my answer was for to unlock user which is locked it means you can not login to admin panel with that particular user, so first you need to unlock the user then only you can login and follow the Jaimin's step for configuring password life.

                          – Yogesh Trivedi
                          May 23 '17 at 6:42







                          my answer was for to unlock user which is locked it means you can not login to admin panel with that particular user, so first you need to unlock the user then only you can login and follow the Jaimin's step for configuring password life.

                          – Yogesh Trivedi
                          May 23 '17 at 6:42















                          @YogeshTrivedi I've had it whereby you have the exact same thing, message on logging into the admin panel, but unlocking the user like you described had no effect.

                          – tim.baker
                          May 23 '17 at 6:43





                          @YogeshTrivedi I've had it whereby you have the exact same thing, message on logging into the admin panel, but unlocking the user like you described had no effect.

                          – tim.baker
                          May 23 '17 at 6:43













                          i am not sure but it worked for me and i got to learn this from Magento official website, check it here - devdocs.magento.com/guides/v2.0/install-gde/install/cli/…

                          – Yogesh Trivedi
                          May 23 '17 at 10:08





                          i am not sure but it worked for me and i got to learn this from Magento official website, check it here - devdocs.magento.com/guides/v2.0/install-gde/install/cli/…

                          – Yogesh Trivedi
                          May 23 '17 at 10:08











                          2














                          In magento 2, there is configuration for set Password Lifetime (days). It means if user didn't login in admin specific days then account will be locked.



                          For set this days go to Stores > Configuration > Advanced > Admin > Security and set value for Password Lifetime (days) .






                          share|improve this answer




























                            2














                            In magento 2, there is configuration for set Password Lifetime (days). It means if user didn't login in admin specific days then account will be locked.



                            For set this days go to Stores > Configuration > Advanced > Admin > Security and set value for Password Lifetime (days) .






                            share|improve this answer


























                              2












                              2








                              2







                              In magento 2, there is configuration for set Password Lifetime (days). It means if user didn't login in admin specific days then account will be locked.



                              For set this days go to Stores > Configuration > Advanced > Admin > Security and set value for Password Lifetime (days) .






                              share|improve this answer













                              In magento 2, there is configuration for set Password Lifetime (days). It means if user didn't login in admin specific days then account will be locked.



                              For set this days go to Stores > Configuration > Advanced > Admin > Security and set value for Password Lifetime (days) .







                              share|improve this answer












                              share|improve this answer



                              share|improve this answer










                              answered Jul 25 '16 at 10:02









                              Jaimin ParikhJaimin Parikh

                              2,0802625




                              2,0802625























                                  0














                                  But to prevent this from happening, my experience shows admin users passwords, should not be a mix of upper and lowercase charters or include symbols. I know, I know! this goes against all logic with regards to secure passwords, especially those necessary for admin users, but it is like that. So just make them very long, I would suggest in access of 14 characters.






                                  share|improve this answer




























                                    0














                                    But to prevent this from happening, my experience shows admin users passwords, should not be a mix of upper and lowercase charters or include symbols. I know, I know! this goes against all logic with regards to secure passwords, especially those necessary for admin users, but it is like that. So just make them very long, I would suggest in access of 14 characters.






                                    share|improve this answer


























                                      0












                                      0








                                      0







                                      But to prevent this from happening, my experience shows admin users passwords, should not be a mix of upper and lowercase charters or include symbols. I know, I know! this goes against all logic with regards to secure passwords, especially those necessary for admin users, but it is like that. So just make them very long, I would suggest in access of 14 characters.






                                      share|improve this answer













                                      But to prevent this from happening, my experience shows admin users passwords, should not be a mix of upper and lowercase charters or include symbols. I know, I know! this goes against all logic with regards to secure passwords, especially those necessary for admin users, but it is like that. So just make them very long, I would suggest in access of 14 characters.







                                      share|improve this answer












                                      share|improve this answer



                                      share|improve this answer










                                      answered Oct 11 '18 at 8:33









                                      user15020user15020

                                      1




                                      1























                                          0














                                          I tried this options and various other options but none worked for me :



                                          I followed this :



                                          1./opt/bitnami/apps/magento/htdocs/vendor/zendframework/zend-crypt/src



                                          updated utils.php to following:



                                          Go to this file path and vendorzendframeworkzend-cryptsrcUtils.php and echo $expected and $actual variable and check both are same or not if both variable are not match then change line no 35



                                          if (function_exists('hash_equals')) { return hash_equals($expected, $actual); }



                                          To



                                          if (function_exists('hash_equals')) { return true; }



                                          for direct access to magento admin with any password and then change password and revert back code changes



                                          This solution work for me



                                          OLD CODE:



                                           if (function_exists('hash_equals')) {
                                          return hash_equals($expected, $actual);


                                          NEW CODE:



                                          if (function_exists('hash_equals')) { return true; }



                                          It should work for you





                                          share








                                          New contributor




                                          Big Bang Things Consultants is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                          Check out our Code of Conduct.

























                                            0














                                            I tried this options and various other options but none worked for me :



                                            I followed this :



                                            1./opt/bitnami/apps/magento/htdocs/vendor/zendframework/zend-crypt/src



                                            updated utils.php to following:



                                            Go to this file path and vendorzendframeworkzend-cryptsrcUtils.php and echo $expected and $actual variable and check both are same or not if both variable are not match then change line no 35



                                            if (function_exists('hash_equals')) { return hash_equals($expected, $actual); }



                                            To



                                            if (function_exists('hash_equals')) { return true; }



                                            for direct access to magento admin with any password and then change password and revert back code changes



                                            This solution work for me



                                            OLD CODE:



                                             if (function_exists('hash_equals')) {
                                            return hash_equals($expected, $actual);


                                            NEW CODE:



                                            if (function_exists('hash_equals')) { return true; }



                                            It should work for you





                                            share








                                            New contributor




                                            Big Bang Things Consultants is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                            Check out our Code of Conduct.























                                              0












                                              0








                                              0







                                              I tried this options and various other options but none worked for me :



                                              I followed this :



                                              1./opt/bitnami/apps/magento/htdocs/vendor/zendframework/zend-crypt/src



                                              updated utils.php to following:



                                              Go to this file path and vendorzendframeworkzend-cryptsrcUtils.php and echo $expected and $actual variable and check both are same or not if both variable are not match then change line no 35



                                              if (function_exists('hash_equals')) { return hash_equals($expected, $actual); }



                                              To



                                              if (function_exists('hash_equals')) { return true; }



                                              for direct access to magento admin with any password and then change password and revert back code changes



                                              This solution work for me



                                              OLD CODE:



                                               if (function_exists('hash_equals')) {
                                              return hash_equals($expected, $actual);


                                              NEW CODE:



                                              if (function_exists('hash_equals')) { return true; }



                                              It should work for you





                                              share








                                              New contributor




                                              Big Bang Things Consultants is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                              Check out our Code of Conduct.










                                              I tried this options and various other options but none worked for me :



                                              I followed this :



                                              1./opt/bitnami/apps/magento/htdocs/vendor/zendframework/zend-crypt/src



                                              updated utils.php to following:



                                              Go to this file path and vendorzendframeworkzend-cryptsrcUtils.php and echo $expected and $actual variable and check both are same or not if both variable are not match then change line no 35



                                              if (function_exists('hash_equals')) { return hash_equals($expected, $actual); }



                                              To



                                              if (function_exists('hash_equals')) { return true; }



                                              for direct access to magento admin with any password and then change password and revert back code changes



                                              This solution work for me



                                              OLD CODE:



                                               if (function_exists('hash_equals')) {
                                              return hash_equals($expected, $actual);


                                              NEW CODE:



                                              if (function_exists('hash_equals')) { return true; }



                                              It should work for you






                                              share








                                              New contributor




                                              Big Bang Things Consultants is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                              Check out our Code of Conduct.








                                              share


                                              share






                                              New contributor




                                              Big Bang Things Consultants is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                              Check out our Code of Conduct.









                                              answered 6 mins ago









                                              Big Bang Things Consultants Big Bang Things Consultants

                                              1




                                              1




                                              New contributor




                                              Big Bang Things Consultants is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                              Check out our Code of Conduct.





                                              New contributor





                                              Big Bang Things Consultants is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                              Check out our Code of Conduct.






                                              Big Bang Things Consultants is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                              Check out our Code of Conduct.






























                                                  draft saved

                                                  draft discarded




















































                                                  Thanks for contributing an answer to Magento Stack Exchange!


                                                  • Please be sure to answer the question. Provide details and share your research!

                                                  But avoid



                                                  • Asking for help, clarification, or responding to other answers.

                                                  • Making statements based on opinion; back them up with references or personal experience.


                                                  To learn more, see our tips on writing great answers.




                                                  draft saved


                                                  draft discarded














                                                  StackExchange.ready(
                                                  function () {
                                                  StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f127245%2fmagento-2-did-not-sign-in-correctly-or-your-account-is-temporarily-disabled%23new-answer', 'question_page');
                                                  }
                                                  );

                                                  Post as a guest















                                                  Required, but never shown





















































                                                  Required, but never shown














                                                  Required, but never shown












                                                  Required, but never shown







                                                  Required, but never shown

































                                                  Required, but never shown














                                                  Required, but never shown












                                                  Required, but never shown







                                                  Required, but never shown







                                                  Popular posts from this blog

                                                  Alcázar de San Juan

                                                  Griza ansero

                                                  Donsieders