|
|
@@ -101,8 +101,8 @@ if (!empty($_POST['save'])) {
|
|
|
if ((!empty($_POST['v_password'])) && (empty($_SESSION['error_msg']))) {
|
|
|
// Check password length
|
|
|
$pw_len = strlen($_POST['v_password']);
|
|
|
- if (!validate_password($_POST['v_password'])) {
|
|
|
- $_SESSION['error_msg'] = __('Password does not match the minimum requirements');
|
|
|
+ if (!validate_password($_POST['v_password'])){
|
|
|
+ $_SESSION['error_msg'] = _('Password does not match the minimum requirements');
|
|
|
}
|
|
|
if (empty($_SESSION['error_msg'])) {
|
|
|
$v_password = tempnam("/tmp","vst");
|