summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--users/views/identity.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/users/views/identity.py b/users/views/identity.py
index 1676eee..b926189 100644
--- a/users/views/identity.py
+++ b/users/views/identity.py
@@ -218,4 +218,5 @@ class CreateIdentity(FormView):
)
new_identity.users.add(self.request.user)
new_identity.generate_keypair()
+ self.request.session["identity_id"] = new_identity.id
return redirect(new_identity.urls.view)