Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By lnx on
how can i do to make de user insert his pasword and not choose with Drupal, OR, how can i do to make appear the pasword generated by the machine, after the user registration?
Sorry my english is very bad
Comments
We did this awhile back for a
We did this awhile back for a 4.2 install I think it was...a year ago - http://drupal.org/node/3979 but this is just to print the PW and not to let a user make their own, but they could then login immediately and change it. It prints for user #1 so it's a matter of changing the code so it prints for all users...in the lines mentioned in the RE: to the linked post.
i use drupal 4.5, the modific
i use drupal 4.5, the modific user.module is correct in version 4.5 ??? or only in version 4.2 ?
could be just a matter of on
could be just a matter of on line 976 of user.module changing:
if ($account->uid == 1) {
to
if ($account->uid >= 1) {
but maybe this grants privs of user#1 to everyone which you would not want...and then everyone would also get that custom message/email too which could be least of worries...overall I think the function you want to work on begins on line 953.