08 2024
This commit is contained in:
parent
c1c613a4b9
commit
881fc84207
384 changed files with 50679 additions and 990 deletions
|
|
@ -11,7 +11,6 @@ class MiddleGoogle2FA
|
|||
public function handle($request, Closure $next)
|
||||
{
|
||||
$AuthGoogle2FA = app(AuthGoogle2FA::class)->init($request);
|
||||
|
||||
if(!Auth::user()->isGoogle2Fa()){
|
||||
\App\Services\MyGoogle2FA::logout();
|
||||
return $AuthGoogle2FA->makeActiveOneTimePasswordResponse();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue