Reviewed-by: Crístian Viana <vianac(a)linux.vnet.ibm.com>
Tested-by: Crístian Viana <vianac(a)linux.vnet.ibm.com>
On Qui, 2014-10-02 at 23:04 -0300, Aline Manera wrote:
When a non-logged user tries to access a guest console:
https://localhost:8001/vnc_auto.html?port=64667&path=?token=dWJ1bnR1M...
He/she will be asked to login and then he/she must be redirected back to the
same URL accessed prior to login (ie, the guest console).
To do that, we use the "next" query parameter. But commit 22eba438 wrongly
overrided this logic by only querying the last tab visited which was
redirecting user to the Kimchi main page instead of the guest console.
Fix it.
Signed-off-by: Aline Manera <alinefm(a)linux.vnet.ibm.com>