[Kimchi-devel] [PATCH V4 0/5] Switch to a traditional login flow

shaohef at linux.vnet.ibm.com shaohef at linux.vnet.ibm.com
Wed Jun 11 16:24:32 UTC 2014


From: ShaoHe Feng <shaohef at linux.vnet.ibm.com>

V3 -> V4:
improve the login page.

V2 -> V3:
improve when to show timeout message

V1 -> V2:
when username or password is wrong, back to login page with an error message.        
when session time out, back to login page with an error message.  

ShaoHe Feng (5):
  create a new login page
  redirect the URL to login page when session timeout or first login
  when login successfully, redirect to the last page.
  login page prompts error when username or password is wrong
  login page prompts error when session timeout

 src/kimchi/auth.py        |  53 +++++++++++++++++----
 src/kimchi/config.py.in   |   7 +++
 src/kimchi/root.py        |  38 +++++++++++----
 src/kimchi/server.py      |   2 +
 tests/test_rest.py        |   1 -
 ui/images/progressing.gif | Bin 0 -> 1152 bytes
 ui/js/src/kimchi.main.js  |  14 ++++--
 ui/pages/login.html.tmpl  | 118 ++++++++++++++++++++++++++++++++++++++++++++++
 8 files changed, 209 insertions(+), 24 deletions(-)
 create mode 100644 ui/images/progressing.gif
 create mode 100644 ui/pages/login.html.tmpl

-- 
1.9.3




More information about the Kimchi-devel mailing list