diff --git a/egovframe-template-simple-react-contribution/src/pages/login/EgovLoginContent.jsx b/egovframe-template-simple-react-contribution/src/pages/login/EgovLoginContent.jsx
index 2b1698e..174d84c 100644
--- a/egovframe-template-simple-react-contribution/src/pages/login/EgovLoginContent.jsx
+++ b/egovframe-template-simple-react-contribution/src/pages/login/EgovLoginContent.jsx
@@ -18,7 +18,7 @@ function EgovLoginContent(props) {
const location = useLocation();
console.log("EgovLoginContent [location] : ", location);
- const [userInfo, setUserInfo] = useState({ id: '', password: 'default', userSe: 'USR' });
+ const [userInfo, setUserInfo] = useState({ username: '', password: 'default', userSe: 'USR' });
// eslint-disable-next-line no-unused-vars
const [loginVO, setLoginVO] = useState({});
@@ -55,14 +55,14 @@ function EgovLoginContent(props) {
useEffect(() => {
let data = getLocalItem(KEY_ID);
if (data !== null) {
- setUserInfo({ id: data, password: 'default', userSe: 'USR' });
+ setUserInfo({ username: data, password: 'default', userSe: 'USR' });
}
}, []);
const submitFormHandler = (e) => {
console.log("EgovLoginContent submitFormHandler()");
- const loginUrl = "/auth/login-jwt"
+ const loginUrl = "/auth/login"
const requestOptions = {
method: "POST",
headers: {
@@ -111,8 +111,8 @@ function EgovLoginContent(props) {