diff --git a/mitama/portal/controller.py b/mitama/portal/controller.py index c134b79..791ca53 100644 --- a/mitama/portal/controller.py +++ b/mitama/portal/controller.py @@ -101,6 +101,7 @@ def signup(self, request): user.roles.append( Role.retrieve(screen_name = role_screen_name) ) + user.update() invite.delete() sess["jwt_token"] = user.get_jwt() return Response.redirect(self.app.convert_url("/"))