diff pylons_app/lib/auth.py @ 355:5bbcc0cac389

added session remove in forms, and added name and lastname to auth user
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 21 Jul 2010 22:57:36 +0200
parents 664a5b8c551a
children a26f48ad7a8a
line wrap: on
line diff
--- a/pylons_app/lib/auth.py	Wed Jul 21 22:55:47 2010 +0200
+++ b/pylons_app/lib/auth.py	Wed Jul 21 22:57:36 2010 +0200
@@ -77,6 +77,8 @@
     """
     def __init__(self):
         self.username = 'None'
+        self.name = ''
+        self.lastname = ''
         self.user_id = None
         self.is_authenticated = False
         self.is_admin = False