mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2025-01-31 05:06:41 +00:00
fix: rename kanidm account
This commit is contained in:
parent
482d48d923
commit
7f6599bc33
|
@ -91,8 +91,8 @@ class KanidmAdminToken:
|
||||||
"api-token",
|
"api-token",
|
||||||
"generate",
|
"generate",
|
||||||
"--rw",
|
"--rw",
|
||||||
"selfprivacy",
|
"sp.selfprivacy-api.service-account",
|
||||||
"token2",
|
"kanidm_service_account_token",
|
||||||
],
|
],
|
||||||
text=True,
|
text=True,
|
||||||
)
|
)
|
||||||
|
|
|
@ -6,7 +6,7 @@ import typing
|
||||||
import subprocess
|
import subprocess
|
||||||
import json
|
import json
|
||||||
from typing import List
|
from typing import List
|
||||||
from os import path
|
from os import listdir, path
|
||||||
from os import makedirs
|
from os import makedirs
|
||||||
from os.path import join
|
from os.path import join
|
||||||
from functools import lru_cache
|
from functools import lru_cache
|
||||||
|
@ -25,7 +25,6 @@ import selfprivacy_api.utils.network as network_utils
|
||||||
from selfprivacy_api.services.api_icon import API_ICON
|
from selfprivacy_api.services.api_icon import API_ICON
|
||||||
from selfprivacy_api.utils import USERDATA_FILE, DKIM_DIR, SECRETS_FILE
|
from selfprivacy_api.utils import USERDATA_FILE, DKIM_DIR, SECRETS_FILE
|
||||||
from selfprivacy_api.utils.block_devices import BlockDevices
|
from selfprivacy_api.utils.block_devices import BlockDevices
|
||||||
from selfprivacy_api.utils import read_account_uri
|
|
||||||
from selfprivacy_api.services.templated_service import (
|
from selfprivacy_api.services.templated_service import (
|
||||||
SP_MODULES_DEFENITIONS_PATH,
|
SP_MODULES_DEFENITIONS_PATH,
|
||||||
SP_SUGGESTED_MODULES_PATH,
|
SP_SUGGESTED_MODULES_PATH,
|
||||||
|
|
Loading…
Reference in a new issue