Jump to content
xportde

Preset Password

Recommended Posts

Hello together,

I try to preset the password on creating users of a certain role by the hook Users::added in ready.php. This is successful (the pass field value is stored in the database), but in the following screen, where the new user data have to be specified, the password input is still required. Is there any chance to prevent this?

If this is not possible, and the password would be entered manually, how could I read it later unhashed via API to send a mail to the new user? The scenario is: A user with appropriate permissions adds other users with other role, which should be informed by email about their credentials.

Thanks in advance,

Thomas.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...