0) { $gate_error = 'Too many failed attempts. Please wait ' . ceil($gate_wait / 60) . ' minute(s).'; } elseif (!verify_captcha($_POST['captcha_answer'] ?? '')) { $gate_error = 'Incorrect math answer. Please try again.'; record_failed_attempt($list_id); $gate_wait = get_rate_limit_wait($list_id); } elseif (!check_rate_limit($list_id)) { $gate_error = 'Too many failed attempts. Please wait ' . ceil(get_rate_limit_wait($list_id) / 60) . ' minute(s).'; } elseif (!verify_list_password($list, $_POST['list_password'] ?? '')) { record_failed_attempt($list_id); $gate_wait = get_rate_limit_wait($list_id); $gate_error = $gate_wait > 0 ? 'Too many failed attempts. Locked for ' . ceil($gate_wait / 60) . ' minute(s).' : 'Incorrect password. ' . (RATE_LIMIT_MAX - (RATE_LIMIT_MAX - (int)ceil(get_rate_limit_wait($list_id)/RATE_LIMIT_WINDOW))) . ' attempt(s) remaining before lockout.'; } else { // Correct password grant_list_access($list_id); reset_rate_limit($list_id); redirect(list_url($owner, $list_id)); } } $captcha_q = set_captcha(); $page_title = $list['title'] . ' — Restricted'; require_once 'includes/header.php'; ?>
This public list is password protected. Enter the list password to view it.
No share link active. Generate one to let guests view this list via a secret URL.