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

« back to all changes in this revision

Viewing changes to ivle/webapp/base/xhtml.py

Allow any authenticated (even invalid) user to use the logout view.

Show diffs side-by-side

added added

removed removed

Lines of Context:
179
179
    def __init__(self, req, exception):
180
180
        super(XHTMLUnauthorizedView, self).__init__(req, exception)
181
181
 
182
 
        # TODO: ToS, disabled, pending
183
182
        if req.user is None:
184
183
            # Not logged in. Redirect to login page.
185
184
            req.throw_redirect('/+login?' +