mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-02-03 00:31:25 -08:00
Add instance_id for Local Users created by Admin
This commit is contained in:
parent
f5c7e44d28
commit
3b007877cb
1 changed files with 1 additions and 0 deletions
|
@ -685,6 +685,7 @@ def admin_users_add():
|
|||
|
||||
from app.activitypub.signature import RsaKeys
|
||||
user.verified = True
|
||||
user.instance_id = 1
|
||||
user.last_seen = utcnow()
|
||||
private_key, public_key = RsaKeys.generate_keypair()
|
||||
user.private_key = private_key
|
||||
|
|
Loading…
Add table
Reference in a new issue