Mercurial > kallithea
comparison 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 |
comparison
equal
deleted
inserted
replaced
354:7a086a83f00b | 355:5bbcc0cac389 |
---|---|
75 """ | 75 """ |
76 A simple object that handles a mercurial username for authentication | 76 A simple object that handles a mercurial username for authentication |
77 """ | 77 """ |
78 def __init__(self): | 78 def __init__(self): |
79 self.username = 'None' | 79 self.username = 'None' |
80 self.name = '' | |
81 self.lastname = '' | |
80 self.user_id = None | 82 self.user_id = None |
81 self.is_authenticated = False | 83 self.is_authenticated = False |
82 self.is_admin = False | 84 self.is_admin = False |
83 self.permissions = {} | 85 self.permissions = {} |
84 | 86 |