🆙 Fixed and no bugs anymore 🆙

This commit is contained in:
Remco
2026-01-07 20:01:53 +01:00
parent 6bf99066a5
commit 65ea6c167f
34 changed files with 63 additions and 63 deletions
+1 -1
View File
@@ -245,7 +245,7 @@ class User extends Authenticatable implements FilamentUser, HasName
public function confirmTwoFactorAuthentication($code)
{
$codeIsValid = resolve(TwoFactorAuthenticationProvider::class)
$codeIsValid = app(TwoFactorAuthenticationProvider::class)
->verify(decrypt($this->two_factor_secret), $code);
if (! $codeIsValid) {