pagination: joins

This commit is contained in:
2023-01-09 14:21:11 +01:00
parent d115d8b970
commit 6dcd7031bb
14 changed files with 424 additions and 69 deletions

View File

@@ -148,7 +148,7 @@ namespace Core\API\TFA {
$this->lastError = $sql->getLastError();
if ($this->success) {
$currentUser->setTwoFactorToken($twoFactorToken);
$this->success = $currentUser->save($sql, ["two_factor_token_id"]);
$this->success = $currentUser->save($sql, ["twoFactorToken"]);
$this->lastError = $sql->getLastError();
}