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)