Changeset 4606 for waeup


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

Remove student login view and viewlet. They moved to browser
subpackage.

File:
1 edited

Legend:

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

    r4601 r4606  
    3636    loginfield = 'form.login'
    3737    passwordfield = 'form.password'
    38 
    39    
    40 class LoginStudent(grok.View):
    41     """A login page for students.
    42     """
    43     grok.context(IWAeUPObject)
    44     grok.template('login')
    45 
    46     def update(self, SUBMIT=None):
    47         if SUBMIT is None:
    48             return
    49         self.flash('You logged in.')
    50         self.redirect(self.url(grok.getSite()))
    51 
    52 
    53 class LoginMainStudent(grok.Viewlet):
    54     grok.viewletmanager(MainArea)
    55     grok.context(IWAeUPObject)
    56     grok.view(LoginStudent)
    5738
    5839   
Note: See TracChangeset for help on using the changeset viewer.