refactoring

This commit is contained in:
2026-06-04 18:32:01 +02:00
parent b130bf9e19
commit 5892a875c8
9 changed files with 16 additions and 14 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
<?php
require_once "php/model/LocalUserDAO.php";
require_once "php/model/LocalUserManager.php";
require_once "php/validator/user-validator.php";
$error = null;
@@ -22,7 +22,7 @@ if ($_SERVER["REQUEST_METHOD"] === "POST") {
$error = "Das Passwort muss 8 bis 72 Zeichen lang sein.";
} else {
try {
$dao = new LocalUserDAO();
$dao = new LocalUserManager();
$password = password_hash($plainPassword, PASSWORD_DEFAULT);