Skip to content

Commit 334e54b

Browse files
authored
define NO_AUTH_REQUIRED2 in reset email
1 parent e6b01fb commit 334e54b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

web/reset/mail/index.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php
22
// Init
33
define('NO_AUTH_REQUIRED',true);
4+
define('NO_AUTH_REQUIRED2',true);
45
error_reporting(NULL);
56

67
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
@@ -136,7 +137,7 @@ function to64 ($v, $n)
136137
fclose($fp);
137138
exec (VESTA_CMD."v-change-mail-account-password '".$v_user."' ".$v_domain." ".$v_account." ".$v_new_password, $output, $return_var);
138139
if ($return_var == 0) {
139-
echo "ok";
140+
echo "==ok==";
140141
exit;
141142
}
142143
}

0 commit comments

Comments
 (0)