Skip to content

Commit

Permalink
Fix a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
SepehrNorouzi7 committed Jul 15, 2023
1 parent 1a9cd82 commit 78ca2be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/accounts/api/v1/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def post(self, request):
"email_subject": "Reset your password",
}
Util.send_email(data)
return redirect(f"http://127.0.0.1:3000/reset-password/{uidb64}/{token}/")
return redirect(f"http://127.0.0.1:3000/password-reset/{uidb64}/{token}/")


from django.shortcuts import redirect
Expand Down

0 comments on commit 78ca2be

Please sign in to comment.