Frontend: Use hashed password when creating user
This commit is contained in:
parent
0a60329617
commit
be59f24d2d
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user