[Kimchi-devel] [PATCH 0/4 V2] Let frontend redirect user after logging

Wen Wang wenwang at linux.vnet.ibm.com
Thu Jul 17 03:38:26 UTC 2014


Thanks Aline. There is a problem with this patch is that after login , 
connect to a VM and copy the vnc link. Then close both kimchi and vnc, 
you will get to vnc with the link you copied as well as kimchi again 
without asking for a password.

Best Regards
Wang Wen

On 07/17/2014 12:44 AM, alinefm at linux.vnet.ibm.com wrote:
> From: Aline Manera <alinefm at linux.vnet.ibm.com>
>
> V1 -> V2:
> - Turn back next_url parameter to fix problems mentioned by Wen Wang
> - Use urllib2.quote() to encode next_url in backend
> - Use decodeURIcomponent() to decode next_url in JS
>
> Aline Manera (4):
>    Update test case to reflect new login design
>    Remove former login design files
>    Remove special console rules from nginx configuration
>    Let frontend redirect user after logging
>
>   src/kimchi/auth.py                    |   9 +--
>   src/kimchi/root.py                    |  19 +----
>   src/nginx.conf.in                     |  11 ---
>   tests/test_rest.py                    |   2 +-
>   ui/css/theme-default/login-window.css |  90 ------------------------
>   ui/js/src/kimchi.login.js             |  71 +++++++++++++++++++
>   ui/js/src/kimchi.login_window.js      | 128 ----------------------------------
>   ui/pages/login-window.html.tmpl       |  53 --------------
>   ui/pages/login.html.tmpl              |  36 ++--------
>   9 files changed, 79 insertions(+), 340 deletions(-)
>   delete mode 100644 ui/css/theme-default/login-window.css
>   create mode 100644 ui/js/src/kimchi.login.js
>   delete mode 100644 ui/js/src/kimchi.login_window.js
>   delete mode 100644 ui/pages/login-window.html.tmpl
>




More information about the Kimchi-devel mailing list