Sync: Inhalte aus origin/main in develop übernommen; .gitea und .github unverändert belassen (falls vorhanden).
All checks were successful
Deploy Workshop-Wahlen (DEV / PROD) / deploy (push) Successful in 13s
All checks were successful
Deploy Workshop-Wahlen (DEV / PROD) / deploy (push) Successful in 13s
This commit is contained in:
@@ -14,10 +14,8 @@ function kc_teamer_page() {
|
||||
delete_option('kc_teamer_password_hash');
|
||||
echo '<div class="notice notice-success">Teamer-Passwort entfernt.</div>';
|
||||
} else {
|
||||
// Sichere Speicherung mit password_hash
|
||||
$hash = password_hash($pw, PASSWORD_DEFAULT);
|
||||
update_option('kc_teamer_password_hash', $hash);
|
||||
echo '<div class="notice notice-success">Teamer-Passwort gespeichert.</div>';
|
||||
update_option('kc_teamer_password_hash', wp_hash_password($pw));
|
||||
echo '<div class="notice notice-success">Teamer-Passwort gespeichert.</div>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user