Skip to content

Commit

Permalink
feat: 회원가입 성공 시 로그인 페이지 이동 추가 및 버튼명 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
envvoo committed Aug 31, 2024
1 parent 45d859f commit 89f29d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion auth-validation.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ function pwMatch() {
function buttonActivation() {
if (!valueStatus.includes(FAILED)) {
form.submit();
location.href = "items.html";
if (!pwCheck) location.href = "items.html";
else location.href = "login.html";
}
//버튼 활성화 및 페이지 이동
}
Expand Down
2 changes: 1 addition & 1 deletion signup.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
</div>

<button type="submit" class="login-form__btn js-button">
로그인
회원가입
</button>
</form>
<div class="social-login">
Expand Down

0 comments on commit 89f29d5

Please sign in to comment.