mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-28 09:51:21 -06:00
Fixes a bug in the 2FA activation thing.
This commit is contained in:
parent
3d201db6fc
commit
93a54780ab
@ -66,10 +66,8 @@ class FireflyValidator extends Validator
|
|||||||
}
|
}
|
||||||
|
|
||||||
$secret = Session::get('two-factor-secret');
|
$secret = Session::get('two-factor-secret');
|
||||||
/** @var Google2FA $google2fa */
|
|
||||||
$google2fa = app(Google2FA::class);
|
|
||||||
|
|
||||||
return $google2fa->verifyKey($secret, $value);
|
return Google2FA::verifyKey($secret, $value);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user