Skip to content

[PB-7031]: feat/wholesaler reset password - #180

Open
jzunigax2 wants to merge 2 commits into
mainfrom
feat/wholesaler-reset-password
Open

jzunigax2 wants to merge 2 commits into
mainfrom
feat/wholesaler-reset-password

Conversation

@jzunigax2

Copy link
Copy Markdown
Contributor

depends on https://github.com/internxt/object-storage-server/pull/261

What

Adds "Forgot password" to the wholesalers console, using the same flow partners and sub-account members already have

Why

Wholesalers had no way to recover a forgotten password.

How

  • Service: wholesalersAuthService gets requestPasswordReset
  • Pages: WholesalersForgotPasswordPage and WholesalersResetPasswordPage reuse the shared ForgotPasswordView / ResetPasswordView.
  • After a successful reset: the page clears any stored wholesaler session through the context's logOut.

- Added WholesalersForgotPasswordPage and WholesalersResetPasswordPage components for handling password reset requests.
- Integrated requestPasswordReset and resetPassword methods in wholesalersAuthService to manage API interactions.
- Updated WholesalersLoginPage to include a link to the forgot password page.
- Created console branding for consistent UI across wholesaler authentication views.
- Enhanced unit tests for wholesalersAuthService to cover new password reset functionalities.
- Added isPublicAuthPage utility function to determine if a given pathname corresponds to a public authentication page.
- Created unit tests for isPublicAuthPage to validate its functionality against various paths.
- Updated wholesalersAxios to utilize isPublicAuthPage for handling 401 errors more effectively.
- Modified WholesalersResetPasswordPage to integrate the resetPassword function with logout functionality.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
object-storage-management-web b1681dd Commit Preview URL

Branch Preview URL
Nov 20 2026, 10:49 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant