Skip to content

Commit

Permalink
Addition to who change (last commit).
Browse files Browse the repository at this point in the history
  • Loading branch information
David Read committed Apr 30, 2012
1 parent 10bb7f2 commit 5c72aa3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ckan/controllers/user.py
Expand Up @@ -264,6 +264,7 @@ def login(self):
g.openid_enabled = False

if not c.user:
c.login_handler = h.url_for(self._get_repoze_handler('login_handler_path'))
return render('user/login.html')
else:
return render('user/logout_first.html')
Expand Down
2 changes: 1 addition & 1 deletion ckan/templates/user/login.html
Expand Up @@ -22,7 +22,7 @@

<div py:match="content">

<form action="${h.url_for('/login_generic')}" method="post" class="form-horizontal" id="login">
<form action="${c.login_handler}" method="post" class="form-horizontal" id="login">
<fieldset>
<!--legend i18n:msg="site_title">Login</legend-->
<div class="control-group">
Expand Down

0 comments on commit 5c72aa3

Please sign in to comment.