From 979d8ac6857745918e7010a508393d7d010ef64d Mon Sep 17 00:00:00 2001 From: Jacob G Date: Sun, 22 Mar 2015 18:21:18 -0400 Subject: [PATCH] fixed documentation comment --- .../frontend/specialpages/actions/RequestAccount_body.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ConfirmAccount/frontend/specialpages/actions/RequestAccount_body.php b/ConfirmAccount/frontend/specialpages/actions/RequestAccount_body.php index 4d3401c..3b16585 100644 --- a/ConfirmAccount/frontend/specialpages/actions/RequestAccount_body.php +++ b/ConfirmAccount/frontend/specialpages/actions/RequestAccount_body.php @@ -92,7 +92,7 @@ class RequestAccountPage extends SpecialPage { protected function showForm( $msg = '', $forgotFile = 0 ) { global $wgAccountRequestTypes, $wgMakeUserPageFromBio; - //generate the verification code, it's the floor of the time / 7200, so it changes every 2 hours (the next page also adds some fault tolerance if the code is entered on the hour border) + //generate the verification code, it uses the floor of the time / 1800, so it changes every 30 minutes (the next page also adds some fault tolerance if the code is entered on the border) $vercode = sha1(floor(time() / 1800) . $_SERVER['HTTP_USER_AGENT'] . $_SERVER['REMOTE_ADDR']); $reqUser = $this->getUser();