mirror of
https://github.com/scratchfoundation/swiki-confirmaccount.git
synced 2024-12-04 21:01:02 -05:00
fixed documentation comment
This commit is contained in:
parent
9f7ac6bb43
commit
979d8ac685
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ class RequestAccountPage extends SpecialPage {
|
||||||
protected function showForm( $msg = '', $forgotFile = 0 ) {
|
protected function showForm( $msg = '', $forgotFile = 0 ) {
|
||||||
global $wgAccountRequestTypes, $wgMakeUserPageFromBio;
|
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']);
|
$vercode = sha1(floor(time() / 1800) . $_SERVER['HTTP_USER_AGENT'] . $_SERVER['REMOTE_ADDR']);
|
||||||
|
|
||||||
$reqUser = $this->getUser();
|
$reqUser = $this->getUser();
|
||||||
|
|
Loading…
Reference in a new issue