diff options
Diffstat (limited to 'lib/users/session/helper.ts')
| -rw-r--r-- | lib/users/session/helper.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/users/session/helper.ts b/lib/users/session/helper.ts index 439ab32d..f99ca80a 100644 --- a/lib/users/session/helper.ts +++ b/lib/users/session/helper.ts @@ -17,7 +17,7 @@ export const authHelpers = { } if (!authResult.success || !authResult.user) { - return { success: false, error: 'Invalid credentials' } + return { success: false, error: authResult.error || 'INVALID_CREDENTIALS' } } // DB에 임시 인증 세션 생성 @@ -45,7 +45,7 @@ export const authHelpers = { } } catch (error) { console.error('First auth error:', error) - return { success: false, error: 'Authentication failed' } + return { success: false, error: 'SYSTEM_ERROR' } } }, |
