Closed (fixed)
Project:
userplus
Version:
6.x-2.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Jul 2009 at 00:52 UTC
Updated:
1 Dec 2009 at 00:50 UTC
Jump to comment: Most recent file
it is my opinion that user_password() should be called in userplus.module to ensure a default password is created in the case one is not provided.
My userplus module has been modified in ways that don't fit the project, so I haven't attached a patch. I'll try to do so once I've removed unnecessary code from my copy of the module.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | userplus.module.patch | 404 bytes | dnotes |
Comments
Comment #1
dnotes commented+1 for this: still an issue in 2.3 and 2.x-dev, and it's so important that I feel it's actually a bug in the module - I created 3 accounts today and the email was sent with "password: !password" - bad form IMHO. Here's a patch based on 2.3 version.
Comment #2
nonzero commentedUse strlen instead in the rare case that the password is cast to a boolean false.
Comment #3
marcp commentedThanks very much for this. I added a minor tweak so a default password gets created when the password field is filled with whitespace.