From 7b867b229d2bf925b94181ea74be460b6aeed493 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Tue, 22 Nov 2022 18:41:10 -0700 Subject: Switch to new identity on creation --- users/views/identity.py | 1 + 1 file changed, 1 insertion(+) (limited to 'users') 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) -- cgit v1.2.3