From 6cd52d19358efffca2e34f6e58233dc8bddafdbd Mon Sep 17 00:00:00 2001 From: samuel Date: Mon, 15 Jan 2024 10:47:45 +0100 Subject: [PATCH] PR OK --- src/App/Controller/AuthController.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/App/Controller/AuthController.php b/src/App/Controller/AuthController.php index fced1d3..dbb72d6 100644 --- a/src/App/Controller/AuthController.php +++ b/src/App/Controller/AuthController.php @@ -31,7 +31,6 @@ class AuthController { */ public function register(array $request, MutableSessionHandle $session): HttpResponse { $fails = []; - $goodfield = []; HttpRequest::from($request, $fails, [ "username" => [Validators::name(), Validators::lenBetween(2, 32)], "password" => [Validators::lenBetween(6, 256)],