Changeset 439 for trunk/Common/User.php
- Timestamp:
- Oct 13, 2012, 5:56:32 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/User.php
r438 r439 344 344 $Mail->Subject = 'Obnova hesla'; 345 345 $Mail->From = $Config['Web']['Title'].' <noreplay@zdechov.net>'; 346 $Mail-> Recipients[] = $Row['Email'];346 $Mail->AddTo($Row['Email'], $Row['Name']); 347 347 $Mail->AddBody('Požádali jste o zaslání nového hesla na serveru <a href="http://'. 348 348 $Config['Web']['Host'].$Config['Web']['RootFolder'].'">http://'. … … 369 369 if(($NewPassword == $NewPassword2) and ($Hash == $Row['Password'])) 370 370 { 371 $PasswordHash = new PasswordHas t();371 $PasswordHash = new PasswordHash(); 372 372 $Salt = $PasswordHash->GetSalt(); 373 373 $this->Database->update('User', 'Id='.$Row['Id'], array('Password' => $PasswordHash->Hash($NewPassword, $Salt),
Note:
See TracChangeset
for help on using the changeset viewer.