Update MkSignupDialog.form.vue

This commit is contained in:
かっこかり 2024-11-09 18:49:15 +09:00 committed by GitHub
parent d6e443f333
commit 269ca85e66
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -277,8 +277,8 @@ async function onSubmit(): Promise<void> {
return null;
});
if (res) {
if (res.status === 204 && instance.emailRequiredForSignup) {
if (res && res.ok) {
if (res.status === 204 || instance.emailRequiredForSignup) {
os.alert({
type: 'success',
title: i18n.ts._signup.almostThere,