Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implemented forgot password feature. #1680

Merged
merged 2 commits into from
Jan 2, 2025

Conversation

hn2006
Copy link

@hn2006 hn2006 commented Jan 1, 2025

Implemented the forgot/reset Password feature through django inbuilt auth password reset views.

Steps for Setup:-
1.change domain in the django site table in database to get the correct domain on the email.
2.add email credentials in settings(common.py) for getting the email(EMAIL_HOST and EMAIL_HOST_PASSWORD)
3.for testing in local change EMAIL_BACKEND in common.py from 'django.core.mail.backends.smtp.EmailBackend' to 'django.core.mail.backends.console.EmailBackend' this will not send the email rather print it in the console.

@FusionIIIT-Bot
Copy link
Collaborator

Congratulations for making your first Pull Request at Fusion!! 🎉 Someone from our team will review it soon.

Copy link
Member

@dvjsharma dvjsharma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes looks good. Need testing.
CC @ramG-reddy

@dvjsharma dvjsharma requested a review from ramG-reddy January 1, 2025 21:32
Copy link

@ramG-reddy ramG-reddy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works fine in console testing, could proceed with syncing on prod to test with the smtp

@dvjsharma dvjsharma merged commit fa6a26f into FusionIIIT:latest_staging Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants