Save key pair when creating new User

This commit is contained in:
Mouse Reeve
2020-12-03 12:45:01 -08:00
parent a85043b351
commit 77a1fc26f1
2 changed files with 4 additions and 3 deletions

View File

@ -199,6 +199,7 @@ def execute_after_save(sender, instance, created, *args, **kwargs):
instance.key_pair = KeyPair.objects.create(
remote_id='%s/#main-key' % instance.remote_id)
instance.save()
shelves = [{
'name': 'To Read',