Up the length of time for which a code remains valid from 15 minutes to

45 minutes.  This was partially prompted by:

PR:		www/60668
Submitted by:	Kevin Ross <austusross@yahoo.com>
This commit is contained in:
Ceri Davies 2004-01-03 21:24:51 +00:00
parent 805b88f9ba
commit e107d98123
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=19464
3 changed files with 6 additions and 6 deletions

View file

@ -1,6 +1,6 @@
#!/usr/bin/perl -T
#
# $FreeBSD$
# $FreeBSD: www/en/cgi/sendpr-code.cgi,v 1.1 2003/12/14 17:28:13 ceri Exp $
#
# Copyright (c) 2003 Eric Anderson
@ -23,7 +23,7 @@ $pnmcat = "/usr/local/bin/pnmcat";
$pnmtopng = "/usr/local/bin/pnmtopng";
$pnmdatadir = "../gifs/";
$dbpath = "/tmp/sendpr-code.db";
$expiretime = 900; # seconds until code expires
$expiretime = 2700; # seconds until code expires
############################################
$currenttime = time();