uawdijnntqw1x1x1
IP : 3.149.241.93
Hostname : host45.registrar-servers.com
Kernel : Linux host45.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
jackpotjunglegam
/
public_html
/
.well-known
/
..
/
core
/
app
/
Http
/
..
/
Http
/
Middleware
/
CheckStatus.php
/
/
<?php namespace App\Http\Middleware; use Auth; use Closure; class CheckStatus { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closure $next) { if (Auth::check()) { $user = auth()->user(); if ($user->status && $user->ev && $user->sv && $user->tv) { return $next($request); } else { if ($request->is('api/*')) { $notify[] = 'You need to verify your account first.'; return response()->json([ 'remark' => 'unverified', 'status' => 'error', 'message' => ['error' => $notify], 'data' => [ 'is_ban' => $user->status, 'email_verified' => $user->ev, 'mobile_verified' => $user->sv, 'twofa_verified' => $user->tv, ], ]); } else { return to_route('user.authorization'); } } } abort(403); } }
/home/jackpotjunglegam/public_html/.well-known/../core/app/Http/../Http/Middleware/CheckStatus.php