Changeset:
        2cd7377f971d
        
https://sourceforge.net/p/mrbs/hg-code/ci/2cd7377f971dd89c7f7dad0031b4a48b38c625e3
Author:
        Campbell Morrison <[email protected]>
Date:
        Wed Sep 14 13:41:36 2016 +0100
Log message:

Fixed use of PasswordCompat

diffstat:

 web/auth/auth_db.inc |  4 ++--
 web/edit_users.php   |  2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diffs (33 lines):

diff -r 95170415092e -r 2cd7377f971d web/auth/auth_db.inc
--- a/web/auth/auth_db.inc      Wed Sep 14 13:31:15 2016 +0100
+++ b/web/auth/auth_db.inc      Wed Sep 14 13:41:36 2016 +0100
@@ -72,7 +72,7 @@
         $do_rehash = true;
       }
     }
-    elseif (!PasswordCompat\binary\check())
+    elseif (!\PasswordCompat\binary\check())
     {
       // password_verify() failed and we are using a version of PHP where
       // crypt() is broken and so we are stuck, unable to verify the 
@@ -91,7 +91,7 @@
     {
       $result = 1;
 
-      if (PasswordCompat\binary\check())
+      if (\PasswordCompat\binary\check())
       {
         $do_rehash = true;
       }
diff -r 95170415092e -r 2cd7377f971d web/edit_users.php
--- a/web/edit_users.php        Wed Sep 14 13:31:15 2016 +0100
+++ b/web/edit_users.php        Wed Sep 14 13:41:36 2016 +0100
@@ -577,7 +577,7 @@
           // for security reasons.
           if ($password0 !== '')
           {
-            if (PasswordCompat\binary\check())
+            if (\PasswordCompat\binary\check())
             {
               $hash = password_hash($password0, PASSWORD_DEFAULT);
             }

------------------------------------------------------------------------------
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to