This commit is contained in:
James Campos 2011-08-24 07:39:02 -07:00
parent 93efd42880
commit 3022c02e51
2 changed files with 4 additions and 6 deletions

View File

@ -1369,9 +1369,8 @@
return 'Error: No text entered.'; return 'Error: No text entered.';
} }
/* /*
captchas expire after 5 hours (couldn't find an official source, so captchas expire after 5 hours (emperically verified). cutoff 5 minutes
anonymous empirically verified). cutoff 5 minutes before then, b/c posting before then, b/c posting takes time.
takes time.
*/ */
cutoff = Date.now() - 5 * HOUR + 5 * MINUTE; cutoff = Date.now() - 5 * HOUR + 5 * MINUTE;
captchas = $.get('captchas', []); captchas = $.get('captchas', []);

View File

@ -1115,9 +1115,8 @@ qr =
return 'Error: No text entered.' unless content return 'Error: No text entered.' unless content
### ###
captchas expire after 5 hours (couldn't find an official source, so captchas expire after 5 hours (emperically verified). cutoff 5 minutes
anonymous empirically verified). cutoff 5 minutes before then, b/c posting before then, b/c posting takes time.
takes time.
### ###
cutoff = Date.now() - 5*HOUR + 5*MINUTE cutoff = Date.now() - 5*HOUR + 5*MINUTE