Hi
I want to use change password page from “system” directly inside my authenticated page in the app
so im not going to page to enter email address and get the mail but directly to change password page to change the password of current logged in user.
so i was trying to use already exusting page in system but getting following error
What does the logic look like?
logic is the same already existing logic of change-password page inside “system”
I haven’t compared it with the original implementation. Did you make any changes there?
Hi @mark-piller
No im not sure but idont think i have made any changes there only two print statements are added.
Btw it works completely fine by the procedure shown in one of your videos of change and forgot password
wherein it goes to enter email id page first and sends a mail and from that link goes to change password page there i get success
But now im trying to use already existing change-password page inside a page after login so in this case user is already authenticated so i need not enter email id nd should directly be able to change password (as per my required functionality)
so i redirected directly to change-password page (already existing one from system) but it gives url issue as mentioned
The page I demonstrated is used when the user clicks a link received in the email. That link contains a token that identifies the password change session. It sounds like you’re trying to use the same page, but in a different flow. If the token is not there, then of course the same page will not work.
Hi @mark-piller
ohh… after login we receive an token of an user cant i pass that token?
basically i want to recreate change password but without sending mail
Hi @Sneha_Borkar,
Unfortunately it is impossible to change user password without sending email with “password change” link. I have created discussion for our team with internal number BKNDLSS-27806 to add support for this feature. We will reach you out when decision about this feature will be made.
Regards, Andriy
Please watch this video, it describes how password can be changed for a user:
Thanks @mark-piller
This is exactly what I wanted!!!
But why don’t we receive user-token in the result returned in this change password block?
Hello @Sneha_Borkar,
For security improvement password changing and user authorisation are separated in two different operations.
Regards,
Olha