Django Tutorial - Change, Recover Django User Password #16

preview_player
Показать описание
Welcome everyone to part 16 of the web development in python with Django. User registration and authentication are crucial parts of any web application, but an integral part is changing passwords and password recovery. The complete emailing process must be integrated into the system to protect users and keep the communication between the website owner and a user. So, in this part, we'll continue to cover how to complete email functionality in the Django webserver to allow users to change and restore their passwords.

This tutorial will consist of two parts: the first will be a simple password change, and the second will be when a user forgets his password and wants to recover it. It's essential to complete the previous tutorial part to be able to continue on this one.

#django #programming #educational #technology #web #website
Рекомендации по теме
Комментарии
Автор

Wonderful video.
One comment: Specifically on the technique used on this video, the link is always valid (assuming it's not expired), so user can use the link to update password as many times he wants. So, that's the "issue" for me on this technique.

With the knowledge here, I believe it's serves better to create a new table with one-time use token for user to reset password; so once token is used, then I can delete the token and that solves this.

This is an awesome content. Thank you for sharing this.

tatemo_labs
Автор

Great content! Quick question: right now, the pwd reset link sent via email can be used multiple times. Not sure if I did something wrong

valentinjalba
Автор

Your contents are amazing as usual. Thanks so much for all You do.
please how can one detect if the reset password token has been used ??

jpcodes
Автор

I have done until first half i.e 5.40 approx and getting an error

PASSWORD RESET LINK IS INVALID

can you help me with that

riddhimanghosh
Автор

Same question as Riddhiman Ghosh has. Steps repeated one-by-one, so no mistake were given. What is the current problem, that the link is created, message sent, but when i'm clicking on it, it returns Django admin page with text: "The password reset link was invalid, possibly because it has already been used. Please request a new password reset". Is there any workaround for it? Testing it locally with Django by standard using HTTP.

nineteenss
Автор

hey, what about if the user updates their email? they can just update to any email without confirmation

nestoftw
Автор

I noticed that I can use the change password link more than once. How can I set time limit?

ricardorodab
Автор

I get an error like this: (535, b'5.7.8 Username and Password not accepted... How can I solve that?

TrungTran-lnjn
Автор

Google no longer provides less supported apps option 😭😢

hopesain
Автор

On the password reset screen, if the captcha is left blank, the django message does not appear (like ticking the captcha box is mandatory). How can I inform the user about this situation?

raspi.config
Автор

User has not attribute user, why this error?

santiagobarbera