Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新規ユーザー作成の際のエラーメッセージが分かりにくい #4093

Closed
Nagarei opened this issue Oct 17, 2023 · 0 comments · Fixed by #4103
Closed

新規ユーザー作成の際のエラーメッセージが分かりにくい #4093

Nagarei opened this issue Oct 17, 2023 · 0 comments · Fixed by #4103
Labels
enhancement New feature or request welcome 新入生が入ってくるまでに行いたいもの

Comments

@Nagarei
Copy link
Contributor

Nagarei commented Oct 17, 2023

backendのコンフィグが、allowSignUp: trueで、externalAuthが無いとき。

新規ユーザー作成の際、入力したパスワードの強度が弱く、バリデーションに失敗した場合、
AxiosError: Request failed with status code 400
としか表示されず、どのバリデーション項目に違反したか分からない。

バックエンドからのエラーメッセージを直接表示して良いように思います。

ざっと見た感じはここでエラーメッセージを生成しているように見える。(これ以上は分からないのでお願いします)

@mehm8128 mehm8128 added enhancement New feature or request welcome 新入生が入ってくるまでに行いたいもの labels Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request welcome 新入生が入ってくるまでに行いたいもの
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants