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

shaohef at linux.vnet.ibm.com shaohef at linux.vnet.ibm.com
Thu Jun 12 10:52:35 UTC 2014


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

V4 -> V5:
fix the login bug after an error user/password input

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