changeset 5319:16255e1fe7e8

Backed out changeset 329241cd48b6. Login does not work any more.
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 29 Nov 2009 00:28:55 +0100
parents 329241cd48b6
children 6986a4c845c8
files MoinMoin/action/login.py
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/login.py	Sat Nov 28 17:32:42 2009 +0100
+++ b/MoinMoin/action/login.py	Sun Nov 29 00:28:55 2009 +0100
@@ -15,11 +15,7 @@
 from MoinMoin.widget import html
 
 def execute(pagename, request):
-    if request.user.valid:
-        url = Page(request, pagename).url(request)
-        request.http_redirect(url)
-    else:
-        return LoginHandler(pagename, request).handle()
+    return LoginHandler(pagename, request).handle()
 
 class LoginHandler:
     def __init__(self, pagename, request):