|
@@ -72,7 +72,11 @@ function RemindPick()
|
|
|
fatal_lang_error('username_no_exist', false);
|
|
|
|
|
|
|
|
|
- spamProtection('remind');
|
|
|
+
|
|
|
+ if (!isset($_POST['reminder_type']) || !in_array($_POST['reminder_type'], array('email', 'secret')))
|
|
|
+ {
|
|
|
+ spamProtection('remind');
|
|
|
+ }
|
|
|
|
|
|
|
|
|
$request = $smcFunc['db_query']('', '
|