Changeset 439 for trunk/Common
- Timestamp:
- Oct 13, 2012, 5:56:32 PM (13 years ago)
- Location:
- trunk/Common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/Common/Forms.php ¶
r438 r439 1 1 <?php 2 2 3 include_once(' form_classes.php');3 include_once('../form_classes.php'); 4 4 include_once('Database.php'); 5 5 -
TabularUnified 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.