few bugfixes, fido/u2f still WIP

This commit is contained in:
2024-04-07 18:29:33 +02:00
parent 0974ac9260
commit 6c551b08d8
19 changed files with 164 additions and 67 deletions

View File

@@ -37,7 +37,7 @@ class KeyBasedTwoFactorToken extends TwoFactorToken {
}
public function hasChallenge(): bool {
return isset($this->challenge);
return isset($this->challenge) && !empty($this->challenge);
}
public function getChallenge(): string {