regproj.cgi: implement project registration time limit
commitc2521b492cae7c19ea91af0f0aad487fa45800dd
authorKyle J. McKay <mackyle@gmail.com>
Mon, 15 Feb 2021 10:23:53 +0000 (15 03:23 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Mon, 15 Feb 2021 10:23:53 +0000 (15 03:23 -0700)
treefce05dd604cbd6ccf77d025386c3d4822e8f2f7a
parent31a7758d04ff4fee9c4451f5864e2e66c6256624
regproj.cgi: implement project registration time limit

If project registration has not been completed within a set time
limit, specifically $Girocco::Config::project_edit_timeout, display
an error rather than registering the project.

The behavior of an expired registration timeout significantly
resembles a failure of the "Anti-captcha" check, just with a slightly
different message.

With this change, a project registration page that has been sitting
unsubmitted for some time can no longer just be submitted without
an extra step that will require re-entry of the "Anti-captcha" as
well as the project password (twice).

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
cgi/regproj.cgi