feat: Implement JWT authentication for client API and add transaction verification endpoint.
This commit is contained in:
@@ -17,7 +17,7 @@ class ApiAuthCheck
|
||||
*/
|
||||
public function handle(Request $request, Closure $next, $guard = null)
|
||||
{
|
||||
$checkGuard = $guard ?: 'sanctum';
|
||||
$checkGuard = $guard ?: 'client';
|
||||
|
||||
if (!Auth::guard($checkGuard)->check()) {
|
||||
return response()->json([
|
||||
|
||||
Reference in New Issue
Block a user