Файл: EasyHost v2.0/system/htdocs/manager/account/password.pl
Строк: 15
<?php
$system->error('The old password field is required') if (!$system->param('password_old'));
$system->error('The old password you entered is incorrect') if ($system->param('password_old') ne $login->user->password);
$system->error('The new password field is required') if (!$system->param('password'));
$system->error('The new passwords you entered doesn't match') if ($system->param('password') ne $system->param('password2'));
$system->db->do('UPDATE users SET password = ? WHERE id = ?',undef,$system->param('password'),$login->user->id);
$login->user->notice('password_modify','changed their password');
$system->redirect('password');
?>