[Kimchi-devel] [PATCH 0/3 WIP] Let frontend redirect user after logging
alinefm at linux.vnet.ibm.com
alinefm at linux.vnet.ibm.com
Sun Jul 13 22:16:38 UTC 2014
From: Aline Manera <alinefm at linux.vnet.ibm.com>
This patch set removes useless files related to former login design and redirect
user in frontend after logging - that way frontend can store user information
for authorization matters.
The patch 2 has 2 problems:
1) the next URL is encoded using base64
So in UI I need to decode it. How do I do that?
2) while using kimchi.cookie.get() to get the lastPage it returns the URL with ""
So the redirection fails as it tries to redirect the user to "/#tabs/guests"
How do I remove those "" around the cookie value?
Any help is welcome!
Aline Manera (3):
Remove former login design files
Remove special console rules from nginx configuration
Let frontend redirect user after logging
src/kimchi/auth.py | 6 --
src/kimchi/root.py | 19 +-----
src/nginx.conf.in | 11 ----
ui/js/src/kimchi.login.js | 73 ++++++++++++++++++++++
ui/js/src/kimchi.login_window.js | 128 ---------------------------------------
ui/pages/login-window.html.tmpl | 53 ----------------
ui/pages/login.html.tmpl | 36 ++---------
7 files changed, 78 insertions(+), 248 deletions(-)
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
--
1.9.3
More information about the Kimchi-devel
mailing list