Switch to new identity on creation

This commit is contained in:
Andrew Godwin 2022-11-22 18:41:10 -07:00
parent 47de2c4424
commit 7b867b229d

View file

@ -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)