From 342ddb4141290b257ec9532b47506f1a26516515 Mon Sep 17 00:00:00 2001 From: arf20 Date: Wed, 20 Mar 2024 12:43:32 +0100 Subject: Remove password restrictions and ver. code without symbols --- login.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'login.php') diff --git a/login.php b/login.php index 3bac945..ee1456e 100755 --- a/login.php +++ b/login.php @@ -30,8 +30,6 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") { $password_err = "Enter a password."; else if (strlen($_POST["password"]) < 8) $password_err = "Password must have at least 8 characters."; - else if (preg_match("/[a-zA-Z0-9!@^*$%&)(=+çñÇ][}{\-.,_:;]+/", $_POST["password"]) != false) - $password_err = "Password must be in the format [a-zA-Z0-9!@^*$%&)(=+çñÇ][}{-.,_:;]."; else $password = $_POST["password"]; @@ -118,7 +116,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
-
+
-- cgit v1.2.3