[Freeipa-devel] [PATCH] 715 webui: add bounce url to reset_password.html

Endi Sukma Dewata edewata at redhat.com
Fri Jul 25 20:27:33 UTC 2014


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):
>
> $
> encodeURIComponent('http://pvoborni.fedorapeople.org/doc/#!/guide/Debugging')
>
>
> -->
> "http%3A%2F%2Fpvoborni.fedorapeople.org%2Fdoc%2F%23!%2Fguide%2FDebugging"
>
> -->
>
> https://my.freeipa.server/ipa/ui/reset_password.html?redirect=http%3A%2F%2Fpvoborni.fedorapeople.org%2Fdoc%2F%23!%2Fguide%2FDebugging
>
>
> https://fedorahosted.org/freeipa/ticket/4440

ACK. 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.

-- 
Endi S. Dewata




More information about the Freeipa-devel mailing list