-
Notifications
You must be signed in to change notification settings - Fork 133
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
feat: [Magic Link Login] add placeholder to invalidEmail
to return user email.
#1145
Conversation
Please fix errors in GitHub Action checks, and add test code. |
@kenjis all language files need to be updated but I don't understand other languages. Should I use english for other files as default language to be translated later by respective authors? |
Ahh, OK. I will update later. |
…ess matches the email {0}.',
invalidEmail
to return user email.invalidEmail
to return user email.
Escape this: shield/src/Views/magic_link_form.php Line 22 in 1829443
|
I'm in a meeting now, I'll update again later. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Escape this, too.
shield/src/Views/magic_link_form.php
Line 22 in 1829443
<?= session('errors') ?> |
@warcooft We don't use merge commits in PR branches. See GitHub Actions. |
ups, my bad, okay I'll rebase. |
It seems to be fine now, please check it. |
Where can I find that key in the test case?
|
It is difficult to understand, but it tells "Auth.invalidEmail" in "uk" must be different from |
I see, I forgot to add something. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@warcooft thank you!
Sorry for the delay.
Description
This pull request improves existing translations by returning the user's email if the corresponding email is not found. This update aims to make communication more engaging and user-friendly. By returning the email value in the error message, it will help users to confirm and correct the email sent because in general users often make typos.
Preview
Checklist: