11 throw new RuntimeException($message);
19 'Die zentrale Passwort-Mindestlänge wird nicht korrekt begrenzt.'
24 str_contains((
string)(
$weakErrors[
'password'] ??
''),
'mindestens 6 Zeichen')
25 && str_contains((
string)(
$weakErrors[
'password'] ??
''),
'ein Großbuchstabe')
26 && str_contains((
string)(
$weakErrors[
'password'] ??
''),
'eine Zahl')
27 && str_contains((
string)(
$weakErrors[
'password'] ??
''),
'ein Sonderzeichen')
29 'Die Profilprüfung muss alle fehlenden Kriterien und Abweichungen nennen.'
40 'Ein gültiges Profilpasswort wird abgelehnt.'
49 'Das bisherige Passwort darf nicht unverändert erneut gespeichert werden.'
53 dirname(__DIR__) .
'/include/dbxUser_profil.class.php'
56 $root .
'/modules/dbxUser_admin/include/dbxUser_profil.class.php'
59 dirname(__DIR__) .
'/tpl/htm/form-profil.htm'
62 $root .
'/modules/dbxUser_admin/tpl/htm/form-profil.htm'
66 $root .
'/design/dbxapp/css/c-form.css'
71 str_contains(
$source,
'\\dbxPasswordPolicy::errors(')
72 && str_contains(
$source,
'password_hash(')
73 && str_contains(
$source,
'password_changed_at')
74 && str_contains(
$source,
"unset(\$settings['password_reset_required'])"),
75 'Profil und Admin-Profil müssen dieselbe moderne Passwortpolicy verwenden.'
82 'Das Admin-Profil muss Passwortwiederholung und moderne Hashes verwenden.'
87 str_contains(
$template,
'class="dbx-password-rules--compact"')
88 && str_contains(
$template,
'data-dbx-password-rules')
89 && str_contains(
$template,
'data-password-rule="length"')
90 && str_contains(
$template,
'data-password-rule="letters"')
91 && str_contains(
$template,
'data-password-rule="number"')
92 && str_contains(
$template,
'data-password-rule="special"')
93 && str_contains(
$template,
'data-password-rule="match"'),
94 'Die kompakte Profilanzeige enthält nicht alle Passwortkriterien.'