fixed cut and paste error, thanks Martin

This commit is contained in:
mdipierro
2012-08-21 07:57:09 -05:00
parent 22cfb6ddab
commit e5afc3ede8
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.00.0 (2012-08-20 21:56:23) dev
Version 2.00.0 (2012-08-21 07:57:05) dev
+1 -2
View File
@@ -2641,8 +2641,7 @@ class Auth(object):
return form
def is_impersonating(self):
def is_impersonating(self):
return self.is_logged_in() and 'impersonator' in current.session.auth
return self.is_logged_in() and 'impersonator' in current.session.auth
def impersonate(self, user_id=DEFAULT):
"""