prepare("SELECT * FROM system_users WHERE user_password_reset_token = ? AND user_password_reset_expires > UNIX_TIMESTAMP()"); $stmt->bind_param("s", $token); $stmt->execute(); $result = $stmt->get_result(); $tokenfound = false; $user_data = array(); if ($result->num_rows == 1) { $tokenfound = true; $user_data = $result->fetch_assoc(); } else { addLoginAttempts(); } if (checkLoginAttempts() > 20) { header('Location: /login/'); exit; } ?>
Your email is already verified, set a password to continue
This link has expired or does not exist. Please contact your administrator to request a new one.
Click the following button to verify your account and set a password.