Файл: EasyHost v2.0/system/htdocs/manager/mysql/password.pl
Строк: 11
<?php
$system->error ( 'New Password is required' ) if ( length $system->param ( 'password' ) == 0 );
$system->error ( 'Confirm Password is required' ) if ( length $system->param ( 'password2' ) == 0 );
$system->error ( 'New Password and Confirm Password must match' ) if ( $system->param ( 'password' ) ne $system->param ( 'password2' ) );
$system->mysql->do ( 'SET PASSWORD FOR ?@? = PASSWORD(?)', undef, $login->user->name, $hostname, $system->param ( 'password' ) );
$system->redirect;
?>