Index: /waeup/branches/ulif-layout/src/waeup/authentication.py
===================================================================
--- /waeup/branches/ulif-layout/src/waeup/authentication.py	(revision 4596)
+++ /waeup/branches/ulif-layout/src/waeup/authentication.py	(revision 4597)
@@ -37,16 +37,4 @@
     passwordfield = 'form.password'
 
-class Login(grok.View):
-    """A general login page used in case of not found resources, etc.
-    """
-    grok.context(IWAeUPObject)
-    # grok.require('zope.Public') # XXX: Does not work in ftests!
-
-    def update(self, SUBMIT=None):
-        self.camefrom = self.request.form.get('camefrom', '')
-        if SUBMIT is not None:
-            self.flash('You logged in.')
-            self.redirect(self.camefrom)
-
 class LoginStaff(grok.View):
     """A login page for staff members.
@@ -72,9 +60,4 @@
         self.flash('You logged in.')
         self.redirect(self.url(grok.getSite()))
-
-class LoginMain(grok.Viewlet):
-    grok.viewletmanager(MainArea)
-    grok.context(IWAeUPObject)
-    grok.view(Login)
 
 class LoginMainStaff(grok.Viewlet):
