Notifications
Clear all

[Solved] Password reset function only for users with a specific role.

3 Posts
2 Users
0 Reactions
456 Views
Posts: 104
Topic starter
(@pochi555)
Estimable Member
Joined: 3 years ago

I am integrating wpforo and UltimateMember.

I am using the password reset screen on the login screen ( https://domain/password-reset/), after entering the email address and pressing the execute button,I want to display a unique message and stop the password reset function only for users with a specific role.

 

(Example)

If the user is in the role of "Author", a message saying "Please contact us using the inquiry form" will be displayed and the password reset function will stop.

Next, for other users ("Contributor", "Subscriber", etc.), enable the password reset function.

Is it possible?

2 Replies
BlackRaz
Posts: 404
Admin
(@blackraz)
Contributor
Joined: 8 years ago

Hi @pochi555,

If you want to prevent password resetting for certain user roles, the built-in features of wpForo do not provide a way to do that. However, we can suggest that you contact our pro-support and customization team for assistance.
https://wpforo.com/pro-support/#customization

1 Reply
(@pochi555)
Joined: 3 years ago

Estimable Member
Posts: 104

@blackraz 

Thank so much.