moksha/templates/login.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit d1ad30484e3c5c162033f97765cd70aa7f8d413c Author: Luke Macken lmacken@redhat.com Date: Mon Sep 13 09:58:00 2010 -0400
Update our login handler to the latest TG2.1 quickstart
diff --git a/moksha/templates/login.mak b/moksha/templates/login.mak index e300267..154f667 100644 --- a/moksha/templates/login.mak +++ b/moksha/templates/login.mak @@ -1,5 +1,5 @@ <div id="loginform"> -<form action="${tg.url('/login_handler', came_from = came_from.encode('utf-8'), __logins = login_counter.encode('utf-8'))}" method="POST" class="loginfields"> +<form action="${tg.url('/login_handler', params=dict(came_from=came_from.encode('utf-8'), __logins=login_counter.encode('utf-8')))}" method="POST" class="loginfields"> <h2><span>Login</span></h2> <label for="login">Username:</label><input type="text" id="login" name="login" class="text"></input><br/> <label for="password">Password:</label><input type="password" id="password" name="password" class="text"></input>