style: Pint 포맷팅 적용
This commit is contained in:
@@ -30,16 +30,18 @@ public function handle(Request $request, Closure $next): Response
|
||||
$user = Auth::user();
|
||||
|
||||
// HQ 테넌트 소속 확인
|
||||
if (!$user->belongsToHQ()) {
|
||||
if (! $user->belongsToHQ()) {
|
||||
Auth::logout();
|
||||
Log::info('[AutoLoginViaRemember] Non-HQ user rejected', ['user_id' => $user->id]);
|
||||
|
||||
return $next($request);
|
||||
}
|
||||
|
||||
// 활성 상태 확인
|
||||
if (!$user->is_active) {
|
||||
if (! $user->is_active) {
|
||||
Auth::logout();
|
||||
Log::info('[AutoLoginViaRemember] Inactive user rejected', ['user_id' => $user->id]);
|
||||
|
||||
return $next($request);
|
||||
}
|
||||
|
||||
@@ -79,4 +81,4 @@ private function refreshApiToken(int $userId, int $tenantId): void
|
||||
]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user