cgi: include timed token in project reg/edit forms
commitbf3c23ae1f6f75112d86bfac1883a0f356fbb57c
authorKyle J. McKay <mackyle@gmail.com>
Mon, 15 Feb 2021 06:33:22 +0000 (14 23:33 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Mon, 15 Feb 2021 06:33:22 +0000 (14 23:33 -0700)
tree7816e47d739a9f8fc2807fc19e93e2c76d0c6cb9
parent3177b1f959f4ee04c12761e51fa22dd9499442b8
cgi: include timed token in project reg/edit forms

Include a timed token in both the project registration and project
edit forms that has a validity from the time the form is created
and lasting for $Girocco::Config::project_edit_timeout seconds.

As of yet, nothing interesting happens when a form is submitted
but the timed token is no longer valid.

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