mirror of
https://github.com/house-of-vanity/OutFleet.git
synced 2025-07-06 17:14:07 +00:00
Fixed client names in outline
Some checks are pending
Docker hub build / docker (push) Waiting to run
Some checks are pending
Docker hub build / docker (push) Waiting to run
This commit is contained in:
@ -150,8 +150,9 @@ class OutlineServer(Server):
|
|||||||
self.client.delete_key(user.hash):
|
self.client.delete_key(user.hash):
|
||||||
|
|
||||||
self.delete_user(user)
|
self.delete_user(user)
|
||||||
|
key_id = f"{user.username}-{user.hash}"
|
||||||
key = self.client.create_key(
|
key = self.client.create_key(
|
||||||
key_id=user.hash,
|
key_id=key_id,
|
||||||
name=user.username,
|
name=user.username,
|
||||||
method=server_user.method,
|
method=server_user.method,
|
||||||
password=user.hash,
|
password=user.hash,
|
||||||
@ -161,8 +162,9 @@ class OutlineServer(Server):
|
|||||||
logger.debug(f"[{self.name}] User {user.username} updated")
|
logger.debug(f"[{self.name}] User {user.username} updated")
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
|
key_id = f"{user.username}-{user.hash}"
|
||||||
key = self.client.create_key(
|
key = self.client.create_key(
|
||||||
key_id=user.hash,
|
key_id=key_id,
|
||||||
name=user.username,
|
name=user.username,
|
||||||
method="chacha20-ietf-poly1305",
|
method="chacha20-ietf-poly1305",
|
||||||
password=user.hash,
|
password=user.hash,
|
||||||
|
Reference in New Issue
Block a user