fix: correct display of email verification message toast (#6822)

#### What type of PR is this?

/area core
/kind bug
/milestone 2.20.x

#### What this PR does / why we need it:

修复不能正常显示邮箱验证提示的问题。

#### Does this PR introduce a user-facing change?

```release-note
None
```
pull/6829/head
Ryan Wang 2024-10-11 17:27:05 +08:00 committed by GitHub
parent 59a59715a1
commit d63eaed10f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 41 additions and 41 deletions

View File

@ -128,7 +128,7 @@
const email = document.getElementById("email").value;
if (!email) {
throw new Error(/*[[#{form.signup.emailCode.send.emptyValidation}]]*/"");
throw new Error(/*[[#{form.emailCode.send.emptyValidation}]]*/"");
}
fetch("/signup/send-email-code", {