Хороним $_COOKIE['pass'], отказываемся от md5('pass'). Это не регистрация, а чёрная дыра!

This commit is contained in:
2023-01-06 16:57:25 +02:00
parent e9ec7eb2f2
commit 9e45f170c7
50 changed files with 1470 additions and 2242 deletions
+5
View File
@@ -14,4 +14,9 @@ class PassGen
$length
);
}
public static function intCode($length = 8): int
{
return mt_rand(10 ** ($length - 1), 10 ** $length - 1);
}
}