Closed (fixed)
Project:
Views Bulk Operations (VBO)
Version:
7.x-3.x-dev
Component:
Actions
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Jan 2012 at 22:16 UTC
Updated:
20 Feb 2012 at 15:40 UTC
Can I generate a password for users using vbo?
I have created a rule that creates users upon condition but I want all this users to have the same password.
Can I do it with a vbo i create for that users?
Comments
Comment #1
bojanz commentedUsing VBO execute the "Execute arbitrary PHP script" action on users, and in it enter the following code:
You can also put that code in a custom action you write, of course.
Not sure if Rules has any code for handling passwords, so you'd have to create a feature request in their queue.
Rules could have a simple action that runs the value it gets through user_hash_password()....