Skip to content

Commit c9974f2

Browse files
author
Marius Cramer
committed
Fixed: Password validator shall only check non-empty strings
1 parent ed1d29a commit c9974f2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

interface/lib/classes/validate_password.inc.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ private function _get_password_strength($password) {
9696
function password_check($field_name, $field_value, $validator) {
9797
global $app;
9898

99+
if($field_value == '') return false;
100+
99101
$app->uses('ini_parser,getconf');
100102
$server_config_array = $app->getconf->get_global_config();
101103

0 commit comments

Comments
 (0)