~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/security/views.py

Merge from new-dispatch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
class LoginView(XHTMLView):
36
36
    '''A view to allow a user to log in.'''
37
37
    template = 'login.html'
 
38
    allow_overlays = False
38
39
 
39
40
    def authorize(self, req):
40
41
        return True
129
130
class LogoutView(XHTMLView):
130
131
    '''A view to log the current session out.'''
131
132
    template = 'logout.html'
 
133
    allow_overlays = False
132
134
 
133
135
    def authorize(self, req):
134
136
        # This can be used by any authenticated user, even if they haven't