Differences From Artifact [667cfb0951]:
- File applications/mobileblur/controllers/default.py — part of check-in [da2e9d5879] at 2011-11-20 23:29:30 on branch develop — Added a button to mark a story as read (user: spiffy, size: 1151) [annotate] [blame] [check-ins using]
To Artifact [cdfea9e32e]:
- File applications/mobileblur/controllers/default.py — part of check-in [b2d6f6e2e9] at 2011-11-22 05:22:25 on branch feature/pretty — Added some color. It doesn't look very good, but it's at least not atrocious anymore. (user: spiffy, size: 1219) [annotate] [blame] [check-ins using] [more...]
︙ | |||
22 23 24 25 26 27 28 29 30 31 32 33 34 35 | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | + | try: results = newsblur.login(login_form.vars["username"], login_form.vars["password"]) response.cookies["nb_cookie"] = newsblur.cookies["newsblur_sessionid"] response.cookies["nb_cookie"]["path"] = "/" redirect(URL("index")) except Exception as ex: login_form.insert(-1, ex.message) login_form._class = "alert-message block-message error" return dict(login_form=login_form) def logout(): response.cookies["nb_cookie"] = "" response.cookies["nb_cookie"]["expires"] = -10 |
︙ |