🆙 More fixes 🆙
This commit is contained in:
1 parent
6a72aef110
commit
b983f325f4
1 file changed
+1
-1
@@ -366,7 +366,7 @@ class User extends Authenticatable implements FilamentUser, HasName
|
|||||||
}
|
}
|
||||||
|
|
||||||
$codeIsValid = app(TwoFactorAuthenticationProvider::class)
|
$codeIsValid = app(TwoFactorAuthenticationProvider::class)
|
||||||
->verify(decrypt($secret), $code);
|
->verify((string) decrypt($secret), $code);
|
||||||
|
|
||||||
if (! $codeIsValid) {
|
if (! $codeIsValid) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in new issue
Block a user