Re: Documentation for User.set_unusable_password() doesn't feel complete

2016-03-15 Thread Tim Graham
Yes, there's a mention of that on the password_reset() view docs: https://docs.djangoproject.com/en/stable/topics/auth/default/#django.contrib.auth.views.password_reset Feel free to submit some docs clarifications as a pull request if you'd like. On Tuesday, March 15, 2016 at 7:32:41 PM UTC-4,

Re: Documentation for User.set_unusable_password() doesn't feel complete

2016-03-15 Thread jorrit787
Does setting an unusable password on a user prevent them from using the reset password feature? On Wednesday, January 13, 2016 at 10:14:11 PM UTC+1, Brice PARENT wrote: > > When you set an usable password (using > https://docs.djangoproject.com/en/dev/ref/contrib/auth/#django.contrib.auth.model

Documentation for User.set_unusable_password() doesn't feel complete

2016-01-13 Thread Brice PARENT
When you set an usable password (using https://docs.djangoproject.com/en/dev/ref/contrib/auth/#django.contrib.auth.models.User.set_unusable_password), it is not really clear that to make the password usable again, one should use `set_password` and define a new one. The doc says that this metho