(fix) メールアドレス認証失敗時にメッセージを表示 (#11986)

This commit is contained in:
かっこかり 2023-10-08 13:48:12 +09:00 committed by GitHub
parent bb9f04d586
commit f37a3eff79
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -199,10 +199,10 @@ export class ServerService implements OnApplicationShutdown {
includeSecrets: true, includeSecrets: true,
})); }));
reply.code(200); reply.code(200).send('Verification succeeded! メールアドレスの認証に成功しました。');
return 'Verify succeeded!'; return;
} else { } else {
reply.code(404); reply.code(404).send('Verification failed. Please try again. メールアドレスの認証に失敗しました。もう一度お試しください');
return; return;
} }
}); });