Skip to content

Commit

Permalink
[fix]
Browse files Browse the repository at this point in the history
  • Loading branch information
boke0 committed Mar 3, 2021
1 parent 5eaa949 commit fa14d3a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mitama/portal/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -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("/"))
Expand Down

0 comments on commit fa14d3a

Please sign in to comment.