Browse Source

Fixed password change via admin panel

Fixed an error when changing the password through the admin panel, it was impossible to log in
Sergei Solovev 2 years ago
parent
commit
506de6e63a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      system/library/acpsystem.php

+ 1 - 1
system/library/acpsystem.php

@@ -577,7 +577,7 @@
 
 
         public static function passwdkey($passwd)
         public static function passwdkey($passwd)
         {
         {
-            return md5(sha1($passwd));
+            return md5($passwd);
         }
         }
 
 
         public static function mail($name, $text, $mail)
         public static function mail($name, $text, $mail)