Quantcast
Channel: Web services
Viewing all articles
Browse latest Browse all 2362

Generating passwords when creating users

$
0
0
by Ray Hernandez.  

So I currently use web services to auto-create users within Moodle using the core_user_create_users web service function. I've noticed that if you pass in the create_password option you have to wait until the next cron cycle before the user gets a password. I end up having to generate random strings to stick in the password field until that happens.

It seems like the passwords should be auto-generated upon account creation but maybe that is too expensive. Does that sound right? How do others deal with this scenario?


--Ray


Viewing all articles
Browse latest Browse all 2362

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>