mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-25 16:51:00 +00:00
Switch to new identity on creation
This commit is contained in:
parent
47de2c4424
commit
7b867b229d
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue