
On 06/15/2014 12:38 AM, Aline Manera wrote:
2) When I access "https://localhost:8001/vnc_auto.html?port=64667&path=?token=Fedora&encrypt=1" without be logged in, I am redirected to the login page and after it I got the Guests tabs instead of the VM console
The logic to do the proper redirect to the VM console is in kimchi.login_main() (ui/js/src/kimchi.login_window.js) I am wondering why we are not using it
In the login.html.tmpl, we are using local functions to do the login, I think we need to call kimhi.login_main() instead have JS into login.html.tpml
Please, send a patch for those issues AS SOON AS POSSIBLE as kimchi 1.2.1 will be released next Friday (June 20)
Thanks, Aline Manera
see patch bug fix: redirect to the protected page after login -- Thanks and best regards! Sheldon Feng(冯少合)<shaohef@linux.vnet.ibm.com> IBM Linux Technology Center