i am working on a project where i need to create a number of users
(standard django User objects who will login to the site using the
vanilla django auth framework) along with random passwords (rather
than allowing the users to sign up and supply their own passwords).
after the site launches, staff will email each user their username and
the generated random password and a link to the site.

ideally, the random password would be a one-time password and when the
user logs in, they would be automatically redirected to the change
password page and required to pick a new password.

i've thought about creating a special link to put into the email that
would hit a view that redirected to the change password view rather
than the usual home page after login, but that seems a little kludgy
and also easy to get around since the user might not use the link from
the email.

i've done a fair amount of googling and struck out. i don't want to
reinvent the wheel here, or write a bunch of code if i don't have to.
anyone have any ideas or pointers to prior art?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to