Skip to content

Commit

Permalink
update public files
Browse files Browse the repository at this point in the history
  • Loading branch information
wnynya committed Jul 24, 2023
1 parent fce1e50 commit 973afd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/public/resources/pages/you/profile.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ function send_email_code() {
const data = {
email: email,
};
input.email_code.disabled = false;

JSONPostRequest(
`${global.api}/auth/accounts/@me/verification/email/change-email/send`,
Expand All @@ -226,8 +227,6 @@ function send_email_code() {
'이메일 인증 코드가 전송되었습니다.<br>이메일을 확인해주세요.',
'success'
);
button.update_email_code.disabled = true;
input.email_code.disabled = false;
input.email_code.focus();
})
.catch((error) => {
Expand All @@ -237,6 +236,7 @@ function send_email_code() {
'error'
)
: null;
button.update_email_code.disabled = false;
});
}

Expand Down

0 comments on commit 973afd1

Please sign in to comment.