엔터키 입력시 403 오류 수정
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
</hgroup>
|
</hgroup>
|
||||||
|
|
||||||
<section class="form-group">
|
<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="component-input" data-props-toggle-Password="true">
|
||||||
<div class="input-label">
|
<div class="input-label">
|
||||||
<label for="password" class="label-txt">비밀번호</label>
|
<label for="password" class="label-txt">비밀번호</label>
|
||||||
@@ -55,7 +55,8 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
let formControl = {
|
let formControl = {
|
||||||
authInfoUser() {
|
authInfoUser(event) {
|
||||||
|
event.preventDefault();
|
||||||
const f = document.reqForm;
|
const f = document.reqForm;
|
||||||
|
|
||||||
const obj = $(f).serializeObject();
|
const obj = $(f).serializeObject();
|
||||||
|
|||||||
Reference in New Issue
Block a user