changeset 5320:6986a4c845c8

merged backout with tip
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 29 Nov 2009 00:29:14 +0100
parents 5dc9e1f2a640 (current diff) 16255e1fe7e8 (diff)
children 69c88d5ce18b
files
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/login.py	Sat Nov 28 23:54:43 2009 +0100
+++ b/MoinMoin/action/login.py	Sun Nov 29 00:29:14 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):