diff --git a/frontend.pm b/frontend.pm index ab2ac01..d9fa11b 100644 --- a/frontend.pm +++ b/frontend.pm @@ -491,7 +491,7 @@ sub createUser { my $password = Digest::SHA::sha256_hex($aPassword); $query = $aConnection->prepare(qq(insert into users values($id, ?, ?, ?);)); - $query->execute($aName, $aPassword, $aPrivileges); + $query->execute($aName, $password, $aPrivileges); } sub httpServerWorker {