Changeset 1382
- Timestamp:
- 05/05/06 16:05:45 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.0/CHANGELOG.txt
r1381 r1382 17 17 *Fixes* 18 18 19 * QUICKSTART: an exception comes up if a user logs in but is not in 20 a group that is required for access. The line with 21 `if not identity.current.anonymous and identity.was_login_attempted()` 22 in controllers.py or root.py needs an additional 23 `and not identity.get_identity_errors()` condition. (#834) 19 24 * Access logging to a file wasn't working correctly (#816) 20 25 26 21 27 *Contributors* 22 28 23 Claudio Martinez, Matt Good, Max Ischenko29 Claudio Martinez, Matt Good, Rune Hansen, Max Ischenko 24 30 25 31 0.9a5 (April 26, 2006) branches/1.0/turbogears/qstemplates/quickstartbig/+package+/controllers/root.py_tmpl
r1261 r1382 24 24 def login(self, forward_url=None, previous_url=None, *args, **kw): 25 25 26 if not identity.current.anonymous and identity.was_login_attempted(): 26 if not identity.current.anonymous \ 27 and identity.was_login_attempted() \ 28 and not identity.get_identity_errors(): 27 29 raise redirect(forward_url) 28 30 branches/1.0/turbogears/qstemplates/quickstart/+package+/controllers.py_tmpl
r1261 r1382 24 24 def login(self, forward_url=None, previous_url=None, *args, **kw): 25 25 26 if not identity.current.anonymous and identity.was_login_attempted(): 26 if not identity.current.anonymous \ 27 and identity.was_login_attempted() \ 28 and not identity.get_identity_errors(): 27 29 raise redirect(forward_url) 28 30