• Hi,

    As an admin I want to set a password when I approve a user. I never want them to choose one (users will ask me if they want to change their passwords).

    At the moment, all works great, but it seems that when I approve a new user, it automaticly generate a random password bypassing the one I filled in the password field. I have to edit again their profile to set the correct password (which is of course a problem as they have already received their login and random password by email when I approved their profile).

    Is this a normal behaviour or is there perhaps a plugin that’s messing up with WP-Members? How can I change it?

    Thanks!

    https://www.ads-software.com/plugins/wp-members/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    You are kind of working in a work flow that is outside of what the plugin does by default. From a security best practices standpoint, no one but the user should know the user’s password. That’s why they are encrypted. What would be the need of not allowing a user control over their password?

    Thread Starter Emielb

    (@emielb)

    The website is linked with another application (which uses another database). In this specific case, there is no other workaround than for the admin to create a user account in each database with the same login and password. Only one person will be allowed to manage users, and their password will be randomly generated (with WP Password Generator plugin) when the admin will approve the account.

    An admin can modify the password of any user when he is active, so I thought he could do it on activation too. I think WP-Members should only generate a random password in case:

    1. The register form doesn’t provide a password field
    2. And the admin hasn’t typed anything in the password field in the backend on account approval.

    Do you know where I could change the code?

    Thread Starter Emielb

    (@emielb)

    Is this “problem” related to WP-Members or WordPress registration process? I would like to find a solution by myself, but I don’t see where to start…

    Thanks for your support!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Password set by admin on approval not working’ is closed to new replies.