Changeset 20845 for branches/version-2_11-dev/data/class/util/SC_Utils.php
- Timestamp:
- 2011/04/15 12:45:37 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_11-dev/data/class/util/SC_Utils.php
r20841 r20845 2122 2122 } 2123 2123 } else { 2124 $hash = SC_Utils_Ex::sfGetHashString($pass, $salt); 2124 if (empty($salt)) { 2125 // 旧バージョン(2.11未満)からの移行を考慮 2126 $hash = sha1($pass . ":" . AUTH_MAGIC); 2127 } else { 2128 $hash = SC_Utils_Ex::sfGetHashString($pass, $salt); 2129 } 2125 2130 if($hash === $hashpass) { 2126 2131 $res = true;
Note: See TracChangeset
for help on using the changeset viewer.
