Found 1 issue when testing

input wrong user/pass, response error of 'incorrect user/pass', input correct user/pass again. got error below

   

This only occurs when first time login after clearing brower cache.


On 6/12/2014 12:24 AM, shaohef@linux.vnet.ibm.com wrote:
From: ShaoHe Feng <shaohef@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