Hello Support Team,
I’m working on a WordPress + WooCommerce site using SalesKing (agents) and B2BKing. I need to enforce a security policy where SalesKing agents must reset/change their password on their first login. Until the password is changed, the agent should not be able to access either the agent dashboard page or wp-admin.
I attempted:
• A custom implementation (flagging users via user meta and redirecting to a forced password-change page)
• A third-party plugin (e.g., Melapress Login Security)
However, it looks like SalesKing (and possibly B2BKing) overrides the login flow and performs a redirect to the agent dashboard very early (e.g., redirect + exit), which prevents standard WordPress hooks like login_redirect or WooCommerce login redirect filters from reliably enforcing the password reset.
Could you please advise:
1. Whether SalesKing provides an official way (setting/hook/filter) to force a password reset/change on first login for agent users.
2. If there is a recommended hook or integration point to override the default “redirect to agent dashboard” behavior until the password is updated.
3. Any known conflicts with B2BKing or WooCommerce login redirects related to this use case.
If useful, I can share logs/stack traces showing the redirect being triggered from the SalesKing login handler.
Thank you,
Marco
