[Web] use saved password policy for pwgen
This commit is contained in:
1 parent
606eaad8f7
commit
c928948b15
2 files changed
+19
-2
No files matched your search
@@ -561,6 +561,15 @@ if (isset($_GET['query'])) {
|
||||
echo '{}';
|
||||
}
|
||||
break;
|
||||
default:
|
||||
$password_complexity_rules = password_complexity('get');
|
||||
if ($password_complexity_rules !== false) {
|
||||
process_get_return($password_complexity_rules);
|
||||
}
|
||||
else {
|
||||
echo '{}';
|
||||
}
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in new issue
Block a user