Protection of WordPress logins

This commit is contained in:
th.guenther committed 2024-02-26 14:47:51 +01:00
1 parent bb741539f6
commit 18820c7191
18 files changed
+903 -13

No files matched your search

@@ -0,0 +1,10 @@
<?php
function kompass_get_minimal_password_strength() {
$minPasswordStrength = get_option('kompass_password_minimal_strength', 1);
$possibleStrengths = ['1' => 'short, bad, good, strong',
'2' => 'good, strong',
'3' => 'strong'];
return ' ' . $possibleStrengths[$minPasswordStrength];
}