Gaia3D / Gaia3D/ndtp

ajax 세션 체크 javascript 수정

Open
#104 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
8
Forks
6
PR merge metrics
No merged PRs in 30d

Description

if(msg.errorCode === "user.session.empty") {
//alert(JS_MESSAGE[msg.errorCode]);
location.href = "/sign/signin";
return;
} else {
alert(JS_MESSAGE[msg.errorCode]);
console.log("---- " + msg.message);
}

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the AJAX session-check code containing the user.session.empty condition, the /sign/signin redirect, and the JS_MESSAGE alert. First determine the intended change, since the issue provides only a snippet and no expected behavior. Done means the agreed session handling works and the existing error message and console logging behavior are verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
authentication, frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.