fixed cut and paste error, thanks Martin
This commit is contained in:
@@ -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
@@ -2641,8 +2641,7 @@ class Auth(object):
|
|||||||
return form
|
return form
|
||||||
|
|
||||||
def is_impersonating(self):
|
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):
|
def impersonate(self, user_id=DEFAULT):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user