Author Topic

Bruce Morrison

Thursday 06 March 2008 3:03:15 pm

Comment49193

Hi Piotrek

and that notification in some cases (for example new, imported users, who did not register themselves) should provide access details (login, password).

I've had to do this with one site where the original site was converted to an Exponential one. I ended up writing a script that read the CSV of user details, generated a random password (eZuser::createPassword) and sent a welcome email to the user that included the unencrypted password.

I admit that mailing passwords is not the best way of doing it and these days I'd probably create a module view that worked in a similar way as the user/activate that prompted the user to set their password.

@Xavier

Well, the forgot password on ez is hand down the most unergonomic way to retrieve a new password ever.

I agree it's involved but it's pretty standard isn't it?

First login one time passwords and a bunch of other login options could be solved by adding workflow hooks to the user module, especially pre & post authentication hooks. If these were in place you could simply create a workflow to add the functionality.

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish