Help

41 views
Skip to first unread message

ola neat

unread,
Aug 12, 2021, 9:07:21 AM8/12/21
to django...@googlegroups.com
This is d link I've generate 4 reset pswd sent 2 d user email, but I'm using angular 4 my front end,  now my iss is how do i pass angular url so that when d user clicks on diz link, he/she will b redirected to d angular change pswd form
20210812-135904.png

Kasper Laudrup

unread,
Aug 12, 2021, 4:30:48 PM8/12/21
to django...@googlegroups.com
It is pretty hard to understand what you're writing. Not sure if it some
kind of Pigeon English or similar, but from what I can gather you're
trying to send an email with a link and the email doesn't contain the
link you expect?

I don't know why Angular should be related to that, but I don't have any
experience with that. Maybe you're writing a single page application and
want to create a link to a specific page there?

Try to rewrite your question in plain English if possible, show the code
that generates the incorrect link and which link (or specific page in
you Angular code) you'd actually want it to generate instead.

Kind regards,

Kasper Laudrup

OpenPGP_signature

ola neat

unread,
Aug 13, 2021, 2:27:33 AM8/13/21
to django...@googlegroups.com
Ohk
So this is it I'm working on a project using drf & angular & I want to add forgot password functionality to the project,  which i have  successfully achieved now my issue is this after they link for changing password has been successfully sent to the user's email address( IMG above) how do i ensure that when the user clicks on that link instead of been redirected to a django view he/she is redirected to an angular form where they can change their password 



--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/882ba90f-fdfa-55ca-d154-510f64b5dbd6%40stacktrace.dk.

Lalit Suthar

unread,
Aug 15, 2021, 12:29:48 AM8/15/21
to django...@googlegroups.com
You should send a custom frontend url to the users, appending the parameters required.
Now your frontend will received that and send a POST request with the params received to your DRF backend
There you can verify the parameters and change the password

Reply all
Reply to author
Forward
0 new messages