Throw exception when no password hash is found for the given peer UUID
This commit is contained in:
parent
68eaaf91c2
commit
0669f13493
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@
|
||||||
$record = $stmt->fetch(PDO::FETCH_ASSOC);
|
$record = $stmt->fetch(PDO::FETCH_ASSOC);
|
||||||
if($record === false)
|
if($record === false)
|
||||||
{
|
{
|
||||||
return false;
|
throw new DatabaseOperationException('No password hash found for the given peer UUID');
|
||||||
}
|
}
|
||||||
|
|
||||||
$encryptedHash = $record['hash'];
|
$encryptedHash = $record['hash'];
|
||||||
|
|
Loading…
Add table
Reference in a new issue