Save key pair when creating new User
This commit is contained in:
parent
a85043b351
commit
77a1fc26f1
2 changed files with 4 additions and 3 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue