Changeset 5768
- Timestamp:
- 11/24/08 15:41:51 (2 months ago)
- Files:
-
- trunk/tg/controllers.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/tg/controllers.py
r5743 r5768 518 518 self.require is None or \ 519 519 self.require.eval_with_environ(environ, errors): 520 log.debug('Successed controller authorization at %s', 521 pylons.request.path) 520 522 return True 521 523 522 # if we did not return this is an error :)523 # TODO: do something with the errors variable like informing our user...524 log.debug('Failed controller authorization at %s', pylons.request.path) 525 flash(errors, status="status_error") 524 526 return False 525 527