rainlab / user-plugin

Front-end user management.
Other
113 stars 153 forks source link

E-mail verification prompts garbled codes when resetting the password #483

Closed spiritbird closed 3 years ago

spiritbird commented 3 years ago

When I use rainlab plug-in resetpassword components, when I submit directly without filling in my email address, a garbled verification error pop-up window pops up on the page.

I dont't know how to fix this bug

return fields X_OCTOBER_ERROR_MESSAGE: emailは、必ず指定してください。 the file rainlab/user/components/ressetpassword/restore.htm content is

`

パスワードをお忘れの場合

登録いただいたメールアドレスを入力し、パスワード変更ページのURLをメールで送信いたします。

<form data-request="{{ SELF }}::onRestorePassword" data-request-update="'{{ SELF }}::reset': '#partialUserResetForm'" data-request-validate data-request-flash

<button type="submit" class="btn btn-default">パスワードを再設定</button>

`

0F2609D6-962B-4de0-A3EC-12173F863084 C0C2F0BC-D09E-4ace-B8CA-B0ECA5A57407

0F2609D6-962B-4de0-A3EC-12173F863084 C0C2F0BC-D09E-4ace-B8CA-B0ECA5A57407 E2D12F8C-8DEC-44c9-B7CB-DFF9B613127A

daftspunk commented 3 years ago

It looks like there is some interaction happening somewhere in your code that is preventing the validation error from triggering. Instead, the validation error appears to be getting converted to a JSON response as a traditional error.

Since this is an issue with your implementation, we can provide technical support via this service: https://octobercms.com/premium-support

Thanks!