You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 29, 2022. It is now read-only.
if(strlen($_POST['password']) < 12) {
die("Your password is too short. The minimum length is 12 characters.");
}
if(!preg_match("#[A-Z]+#", ($_POST['password']))) {
die("Your password must contain at least one uppercase letter.");
}
if(!preg_match("#[a-z]+#", ($_POST['password']))) {
die("Your password must contain at least one lowercase letter.");
}
if(!preg_match("#[0-9]+#", ($_POST['password']))) {
die("Your password must contain at least one number.");
}
if(!preg_match("#[\W]+#", ($_POST['password']))) {
die("Your password must contain at least one special character.");
}