Show More
@@ -445,8 +445,8 b' class AuthUser(object):' | |||
|
445 | 445 | return False |
|
446 | 446 | |
|
447 | 447 | def __repr__(self): |
|
448 |
return "<AuthUser('id:%s |
|
|
449 | self.is_authenticated) | |
|
448 | return "<AuthUser('id:%s[%s] ip:%s auth:%s')>"\ | |
|
449 | % (self.user_id, self.username, self.ip_addr, self.is_authenticated) | |
|
450 | 450 | |
|
451 | 451 | def set_authenticated(self, authenticated=True): |
|
452 | 452 | if self.user_id != self.anonymous_user.user_id: |
General Comments 0
You need to be logged in to leave comments.
Login now