Changeset 19986 for branches/version-2_5-dev/data/class/SC_Customer.php
- Timestamp:
- 2011/01/19 19:47:07 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/SC_Customer.php
r19860 r19986 51 51 52 52 // パスワードが合っていれば顧客情報をcustomer_dataにセットしてtrueを返す 53 if ( sha1($pass . ":" . AUTH_MAGIC) == $data['password'] ){53 if ( SC_Utils_Ex::sfIsMatchHashPassword($pass, $data['password'], $data['salt']) ) { 54 54 $this->customer_data = $data; 55 55 $this->startSession(); … … 150 150 151 151 // パスワードが合っている場合は、顧客情報をcustomer_dataに格納してtrueを返す。 152 if ( sha1($pass . ':' . AUTH_MAGIC) == @$data['password']) {152 if ( SC_Utils_Ex::sfIsMatchHashPassword($pass, $data['password'], $data['salt']) ) { 153 153 $this->customer_data = $data; 154 154 $this->startSession();
Note: See TracChangeset
for help on using the changeset viewer.