mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -07:00
removed deugg logging
This commit is contained in:
parent
eb40d64132
commit
e84f7e2709
1 changed files with 0 additions and 9 deletions
|
@ -132,15 +132,6 @@ if ((!empty($_POST['email'])) && (!empty($_POST['password'])) && (!empty($_POST[
|
||||||
// Change password
|
// Change password
|
||||||
if ( $v_hash == $n_hash ) {
|
if ( $v_hash == $n_hash ) {
|
||||||
exec (VESTA_CMD."v-change-mail-account-password '".$v_user."' ".$v_domain." ".$v_account." ".$new, $output, $return_var);
|
exec (VESTA_CMD."v-change-mail-account-password '".$v_user."' ".$v_domain." ".$v_account." ".$new, $output, $return_var);
|
||||||
$fp = fopen('/tmp/vst.log', 'w');
|
|
||||||
fwrite($fp, "Owner: ".$v_user."\n");
|
|
||||||
fwrite($fp, "Hash: ".$v_hash."\n");
|
|
||||||
fwrite($fp, "New: ".$n_hash."\n");
|
|
||||||
fwrite($fp, "Salt : ".$salt[2]."\n");
|
|
||||||
fwrite($fp, "Password: ".$password."\n");
|
|
||||||
fwrite($fp, "Return: ".$return_var."\n");
|
|
||||||
fclose($fp);
|
|
||||||
|
|
||||||
if ($return_var == 0) {
|
if ($return_var == 0) {
|
||||||
echo "ok";
|
echo "ok";
|
||||||
exit;
|
exit;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue