Zeke Zhang 2bed193a40
feat(auth): support the "Forgot Password" function (#6616)
* chore: stash

* chore: stash

* feat: lostPassword

* fix: refactor getEmailConfig to remove async and improve reset password link generation

* feat: resetPassword and checkResetToken

* feat: implement lostPassword, resetPassword, and checkResetToken actions with ACL permissions

* test: add tests for lostPassword

* test: add unit tests for auth:resetPassword and auth:checkResetToken

* fix: update resetPassword tests to remove unnecessary 'values' wrapper and improve token validation

* chore: add localized messages

* feat: add support for HTML email content in lostPassword functionality

* feat: add showForgotPassword prop to Password component and update SignInForm to use it

* feat: add ForgotPasswordPage component and implement lostPassword API call

* feat: add ResetPasswordPage component and integrate reset password functionality

* fix: avoid crashing

* feat: update text in password-related components to English

* feat: update labels in Options component to English

* feat: enhance SignInForm with forgot password link and sign up option

* fix: should hide 'Forgot password' when not enabled

* feat: add reset link expiration option in authentication settings

* fix: update emailer retrieval in notification manager to use async method

* fix: add loading state to forgot password form submission

* fix: update options handling in BasicAuth and improve reset password link generation

* fix(ForgotPasswordPage): handle loading state correctly during password reset

* fix(auth): enhance email template variable parsing for password reset notifications

* fix(auth): add baseURL parameter to password reset functionality

* fix(locale): add missing translations for password reset functionality in multiple languages

* chore: add loading

* fix(locale): add default email subject and content for password reset in multiple languages

* fix(locale): add notification channel messages and update password reset email content in multiple languages

* fix(auth): update email configuration to use notification channel instead of email channel

* fix(locale): update notification channel messages and reset link expiration text in multiple languages

* fix(locale): update reset password email content and add expiration details in multiple languages

* fix(auth): update email configuration to use notification channel and add system settings to reset password email

* feat(auth): include authenticator name in lost password flow and update related components

* feat(auth): add X-Authenticator header handling and update related locale messages

* fix: remove unused date variable from email parsing in BasicAuth

* fix: remove redundant form reset calls in useCreateAction and useUpdateAction

* fix: fix the issue of field default values not working
2025-05-06 09:19:34 +08:00
..
2024-11-10 10:09:21 +08:00

NocoBase

What is NocoBase

NocoBase is a scalability-first, open-source no-code development platform.
Instead of investing years of time and millions of dollars in research and development, deploy NocoBase in a few minutes and you'll have a private, controllable, and extremely scalable no-code development platform!

Homepage:
https://www.nocobase.com/

Online Demo:
https://demo.nocobase.com/new

Documents:
https://docs.nocobase.com/

Commericial license & plugins:
https://www.nocobase.com/en/commercial

License agreement:
https://www.nocobase.com/en/agreement

Contact Us:

hello@nocobase.com