Project:Generate password
Version:6.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:patch (to be ported)

Issue Summary

Is the 'Generated password' message actually needed? Maybe for admins, or roles with administer users permissions, but I can't see why anonymous users have to see this. Why not throw a if(user_access('administer users')) around it?

Comments

#1

hm i guess we had this for testing purposes on both forms (registration / admin user-add). You're right, its not needed on the regular registration form. On the other hand, it makes sense if the admin selected "optional password" instead of "no password fields". So maybe the messages should be more descriptive for normal user registrations.

my proposals for regular user registration forms:

  1. "optional password": You did not enter a password, so we generated one for you. (maybe the generated one could also displayed here, since activation is needed anyway in most cases)
  2. "no password fields": either no message at all, or the password like above.

The password display option could also be configurable in the settings.

#2

I agree with the proposal.

#3

Status:active» fixed

The UI was cleaned up a bit in this ticket #772690: Module revamp and the latest release.

#4

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

#5

Here is the patch to display password message based on permission 'administer users'

AttachmentSize
remove_pawword_msg-405774-5.patch 1.13 KB

#6

Status:closed (fixed)» patch (to be ported)

Here is the patch to display password message based on permission 'administer users'

AttachmentSize
remove_pawword_msg-405774-5.patch 1.13 KB

#7

I wrote a patch for D7 that adds a option to disable these messages globally.

AttachmentSize
patch_commit_39eb94029419.patch 3.1 KB
nobody click here