Skip to content

Commit 9814461

Browse files
authored
Merge pull request sandstorm#18 from hphoeksma/main
2 parents c667c1e + d21d304 commit 9814461

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Classes/Http/Middleware/SecondFactorMiddleware.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ private function registerOriginalRequestForRedirect(ServerRequestInterface $requ
228228
$this->securityContext->setInterceptedRequest($actionRequest);
229229
}
230230

231-
private function log(string|\Stringable $message, array $context = []): void
231+
private function log(string $message, array $context = []): void
232232
{
233233
$this->securityLogger->debug(self::LOGGING_PREFIX . $message, $context);
234234
}

Classes/Service/TOTPService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public static function checkIfOtpIsValid(string $secret, string $submittedOtp):
3535
return $otp->verify($submittedOtp);
3636
}
3737

38-
public function generateQRCodeForTokenAndAccount(TOTP $otp, Account $account): mixed
38+
public function generateQRCodeForTokenAndAccount(TOTP $otp, Account $account): string
3939
{
4040
$secret = $otp->getSecret();
4141

0 commit comments

Comments
 (0)