From fa14d3a6c5751fa449bc21dc792692ffb728fa06 Mon Sep 17 00:00:00 2001 From: boke0 Date: Thu, 4 Mar 2021 00:17:36 +0900 Subject: [PATCH] [fix] --- mitama/portal/controller.py | 1 + 1 file changed, 1 insertion(+) 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("/"))