fix(multi): header logo dark + Manager login JSON + Jenkinsfile manual exclude
Header.jsx: - logo: zioinfo-logo.png -> zioinfo-logo-dark.png (dark header background) GuardiaDetail.jsx: - 12 features (RPA, scraping, DR, CSAP, NL commands added) - 44 bot commands (vs 19 before) - Tech stack: Vector DB section added Jenkinsfile (root + zioinfo-web): - sparse checkout: exclude manual/ from Jenkins build - only frontend/ and backend/ checked out Manager useAuth.ts: - login: form-encoded -> JSON (ITSM accepts JSON only) Manuals: - 41_zio서버_DB_연결정보.md - 42_zio서버_소프트웨어_구성도.md Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
5ffe7f5744
commit
b7989d0ee7
@ -19,10 +19,11 @@ export function useAuth() {
|
||||
}, [])
|
||||
|
||||
const login = async (username: string, password: string) => {
|
||||
const params = new URLSearchParams({ username, password })
|
||||
const r = await guardiaApi.post('/api/auth/login', params, {
|
||||
headers: { 'Content-Type': 'application/x-www-form-urlencoded' }
|
||||
})
|
||||
// JSON 방식 (ITSM은 JSON 로그인만 지원)
|
||||
const r = await guardiaApi.post('/api/auth/login',
|
||||
{ username, password },
|
||||
{ headers: { 'Content-Type': 'application/json' } }
|
||||
)
|
||||
const { access_token } = r.data
|
||||
sessionStorage.setItem('gm_token', access_token)
|
||||
const me = await guardiaApi.get('/api/auth/me')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user