aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Lionel <lionelmiquel@sfr.fr>2021-02-24 22:03:55 +0100
committerMiquel Lionel <lionelmiquel@sfr.fr>2021-02-24 22:03:55 +0100
commitca421fea5bf928349ad9d3d906f9cfc7d8e8124e (patch)
treef07f07764719a9ed53f67d616fcc4ce882e538ba
parentc9218d0c33b9fc80694de2b3ddab254609f08f80 (diff)
downloadgpigeon-ca421fea5bf928349ad9d3d906f9cfc7d8e8124e.tar.gz
gpigeon-ca421fea5bf928349ad9d3d906f9cfc7d8e8124e.zip
fix argon2id_verify args
-rwxr-xr-xgpigeon-template.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpigeon-template.cgi b/gpigeon-template.cgi
index c513548..b0ad66a 100755
--- a/gpigeon-template.cgi
+++ b/gpigeon-template.cgi
@@ -86,7 +86,7 @@ my ($notif_de_creation, $notif_mail_valide, $notif_suppression) = undef;
my @created_links = ();
-if (argon2id_verify($PASSWD,$PASSWD_HASH)){
+if (argon2id_verify($PASSWD_HASH,$PASSWD)){
my $psswd_formfield = '<input type="hidden" name="password" value="' . $cgi_query_get->param('password') . '">';
if (defined $cgi_query_get->param('supprlien')){