How do I create a new (non admin) user when logged in as an admin without requiring a password for the new account
Use Case: As a site admin, I want to login to the admin panel and create a new user without entering a password for that account.
I have looked at controllers/admin/users_controller.rb, but I cannot seem to work out how to enable an admin user to create a standard user account from the default 'users' list.
I am using this as a backoffice application so staff members will manually create user accounts to start with. Ideally I want to either auto-generate a random password for the new user account, or leave the password blank and send them an invitation to finish setting up their account (via Devise).
Any pointers appreciated.
I have looked at controllers/admin/users_controller.rb, but I cannot seem to work out how to enable an admin user to create a standard user account from the default 'users' list.
I am using this as a backoffice application so staff members will manually create user accounts to start with. Ideally I want to either auto-generate a random password for the new user account, or leave the password blank and send them an invitation to finish setting up their account (via Devise).
Any pointers appreciated.
Notifications
You’re not receiving notifications from this thread.