On 25.7.2014 22:27, Endi Sukma Dewata wrote:
On 7/23/2014 9:59 AM, Petr Vobornik wrote:
reset_password.html now redirects browser to URL specified in 'redirect'
uri component (if present).

The component has to be URI encoded. ie (in browser console):







Pushed to:
master: 8288135b5b218cd63d5f5bfba59f6d1f9657af2d
ipa-4-1: 8288135b5b218cd63d5f5bfba59f6d1f9657af2d

Not closing the ticket yet.

Just one thing, there is no pause between clicking the Reset button
and the redirection, so the "Password reset was successful."
confirmation message might only appear very briefly. A possible
alternative is to show a confirmation page/message, but the user will
have to click to continue to the next page.

I don't believe there is a universal solution. I would say that it depends on personal preferences and a use case. I.e., if it's part of a login procedure I would prefer immediate redirection back to login page. If it's invoked from a user action - just to change the password, some delay might be good.

We might add a URL param(s) to configure the delay/link.

Petr Vobornik

Freeipa-devel mailing list

Reply via email to