Ignore:
Timestamp:
1 Jan 2010, 16:15:27 (15 years ago)
Author:
uli
Message:

Remove view components for staff login. They moved to browser
subpackage.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-layout/src/waeup/authentication.py

    r4597 r4601  
    3737    passwordfield = 'form.password'
    3838
    39 class LoginStaff(grok.View):
    40     """A login page for staff members.
    41     """
    42     grok.context(IWAeUPObject)
    43     grok.template('login')
    44 
    45     def update(self, SUBMIT=None):
    46         if SUBMIT is None:
    47             return
    48         self.flash('You logged in.')
    49         self.redirect(self.url(grok.getSite()))
    5039   
    5140class LoginStudent(grok.View):
     
    6150        self.redirect(self.url(grok.getSite()))
    6251
    63 class LoginMainStaff(grok.Viewlet):
    64     grok.viewletmanager(MainArea)
    65     grok.context(IWAeUPObject)
    66     grok.view(LoginStaff)
    6752
    6853class LoginMainStudent(grok.Viewlet):
Note: See TracChangeset for help on using the changeset viewer.