엔터키 입력시 403 오류 수정

This commit is contained in:
주수현
2025-06-25 12:28:05 +09:00
parent a8c7095685
commit ab9f003d60

View File

@@ -15,7 +15,7 @@
</hgroup>
<section class="form-group">
<form method="post" name="reqForm" id="reqForm" onsubmit="formControl.authInfoUser();" th:action="@{/}">
<form method="post" name="reqForm" id="reqForm" onsubmit="event.preventDefault(); formControl.authInfoUser(event);" th:action="@{/}">
<div class="component-input" data-props-toggle-Password="true">
<div class="input-label">
<label for="password" class="label-txt">비밀번호</label>
@@ -55,7 +55,8 @@
};
let formControl = {
authInfoUser() {
authInfoUser(event) {
event.preventDefault();
const f = document.reqForm;
const obj = $(f).serializeObject();