- Timestamp:
- 18 May 2009, 10:15:40 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-rewrite/src/waeup/authentication.py
r4135 r4141 46 46 self.camefrom = self.request.form.get('camefrom', '') 47 47 if SUBMIT is not None: 48 self.flash('You logged in.') 48 49 self.redirect(self.camefrom) 49 50 … … 57 58 if SUBMIT is None: 58 59 return 60 self.flash('You logged in.') 59 61 self.redirect(self.url(grok.getSite())) 60 62 … … 68 70 if SUBMIT is None: 69 71 return 72 self.flash('You logged in.') 70 73 self.redirect(self.url(grok.getSite())) 71 74 … … 101 104 # without authentication (updating other viewlets on the 102 105 # page) 106 self.view.flash("You're logged out.") 103 107 self.view.redirect(self.view.url()) 104 108
Note: See TracChangeset for help on using the changeset viewer.