updated CHANGELOG

This commit is contained in:
mdipierro
2012-08-17 14:48:14 -05:00
parent f4efdebeb3
commit c17e588ec7
5 changed files with 45 additions and 13 deletions
+3 -1
View File
@@ -2741,7 +2741,9 @@ class Auth(object):
if requires_login:
if not user:
if not otherwise is None:
return otherwise
if callable(otherwise):
return otherwise()
redirect(otherwise)
elif self.settings.allow_basic_login_only or \
basic_accepted or current.request.is_restful:
raise HTTP(403,"Not authorized")