Can passwords be supplied automatically?

TheoRichel - July 21, 2008 - 13:31

In my setup only Administrators can maken new user accounts. When I add a new account I would appreciate it very much if the password was supplied automatically, instead of me having to fantasize one. Is this possible?

Thanks

Theo Richel

Just a quick thought: You

davedelong - July 21, 2008 - 15:20

Just a quick thought:

You could use hook_form_alter to make the password fields not required or autofill them with a predefined password or something.

Alternatively, if you decide to not autofill them, you could implement hook_user under the "insert" operation to change whatever's in the password field.

(FYI, both of these would require a module -- contact me privately if you want help w/ that)

HTH,

Dave

 
 

Drupal is a registered trademark of Dries Buytaert.