PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Manually Set New User Password

  1. Hello, I was wondering if you could recommend a way to manually set each new user's password. My users authenticate using a university authentication system passed through a single secret password, which I'd like to use as the password for each new users.

    Would I manually add the password into userregistration.php somewhere?

    Thanks for your time.

    Posted 12 years ago on Thursday December 8, 2011 | Permalink
  2. I figured it out. Line 1635. Thanks!

    Posted 12 years ago on Thursday December 8, 2011 | Permalink
  3. Hi Sojtech,

    Updating the core probably isn't your best bet. Any changes you make will have to be reapplied every time you update the Add-on. Here is a snippet that will allow you to update the password using hooks so you won't have to worry about reapplying this fix when you update the plugin.

    http://pastie.org/2988096

    This would go in your theme's functions.php.

    Posted 12 years ago on Thursday December 8, 2011 | Permalink
  4. Excellent. Thanks so much!

    Posted 12 years ago on Thursday December 8, 2011 | Permalink

This topic has been resolved and has been closed to new replies.