🆙 Fixed and no bugs anymore 🆙
This commit is contained in:
1 parent
6bf99066a5
commit
65ea6c167f
34 files changed
+63
-63
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user