mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
define NO_AUTH_REQUIRED2 in reset email
This commit is contained in:
parent
e6b01fbd7e
commit
334e54bf93
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
// Init
|
||||
define('NO_AUTH_REQUIRED',true);
|
||||
define('NO_AUTH_REQUIRED2',true);
|
||||
error_reporting(NULL);
|
||||
|
||||
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
|
||||
|
@ -136,7 +137,7 @@ if ((!empty($_POST['email'])) && (!empty($_POST['password'])) && (!empty($_POST[
|
|||
fclose($fp);
|
||||
exec (VESTA_CMD."v-change-mail-account-password '".$v_user."' ".$v_domain." ".$v_account." ".$v_new_password, $output, $return_var);
|
||||
if ($return_var == 0) {
|
||||
echo "ok";
|
||||
echo "==ok==";
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue