Skip to content

Commit

Permalink
get_property
Browse files Browse the repository at this point in the history
  • Loading branch information
piotras committed Feb 10, 2012
1 parent c96bedc commit 6dfb0ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions midgardmvc/controllers/auth.py
Expand Up @@ -36,11 +36,11 @@ def post_login(self):
__logins=login_counter))

person = identity['midgard.person']
h.flash_ok('Welcome back, %s!' % person.firstname)
h.flash_ok('Welcome back, %s!' % person.get_property("firstname"))

redirect(url(came_from))

def post_logout(self):
""" This is where the user ends up after logging out. """

return render('/auth/post_logout')
return render('/auth/post_logout')

0 comments on commit 6dfb0ba

Please sign in to comment.