Use lost_password from script/console

Added by Glenn Gould almost 6 years ago

Hi there,

does anybody know, how to send login-data to a user which is created via script/console like it's described in http://www.redmine.org/boards/2/topics/8550?

It would be even better, to know, how it's possible to use the lost_password Function via commandline in a script?

My purpose is, to create some users automatically (scripted) and send login data to them after that - setting a password for them and send it would be ok, letting them chose their own by triggering "lost_password" after account creation would would be even better...

Thanks for help!