style: Pint 포맷팅 적용

This commit is contained in:
김보곤
2026-02-25 11:45:01 +09:00
parent 68b1622a4e
commit 9a7c548246
199 changed files with 1420 additions and 1083 deletions

View File

@@ -23,9 +23,9 @@ public function __construct(
* - 이메일 로그인: 본사(HQ) 테넌트 소속만 허용
* - 아이디 로그인: 본사(HQ) 테넌트 소속만 허용
*
* @param array $credentials 인증 정보 ['email' => ..., 'password' => ...] 또는 ['user_id' => ..., 'password' => ...]
* @param bool $remember 로그인 유지 여부
* @param string $loginField 로그인 필드 ('email' 또는 'user_id')
* @param array $credentials 인증 정보 ['email' => ..., 'password' => ...] 또는 ['user_id' => ..., 'password' => ...]
* @param bool $remember 로그인 유지 여부
* @param string $loginField 로그인 필드 ('email' 또는 'user_id')
*/
public function login(array $credentials, bool $remember = false, string $loginField = 'email'): bool
{
@@ -37,12 +37,14 @@ public function login(array $credentials, bool $remember = false, string $loginF
if (! $user) {
$this->loginError = '아이디 또는 비밀번호가 올바르지 않습니다.';
return false;
}
// 아이디 로그인은 본사 소속만 허용
if (! $user->belongsToHQ()) {
$this->loginError = '아이디 로그인은 본사 소속 직원만 가능합니다.';
return false;
}
}