mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2025-01-30 12:46:39 +00:00
fix: wrong kanidm command
This commit is contained in:
parent
7ade8f8d01
commit
798f1631af
|
@ -56,13 +56,13 @@ class KanidmAdminToken:
|
|||
try:
|
||||
kanidm_admin_token = subprocess.check_output(
|
||||
[
|
||||
"kanidmd",
|
||||
"recover-account",
|
||||
"-c",
|
||||
"/etc/kanidm/server.toml",
|
||||
"idm_admin",
|
||||
"-o",
|
||||
"json",
|
||||
"kanidm",
|
||||
"service-account",
|
||||
"api-token",
|
||||
"generate",
|
||||
"--rw",
|
||||
"selfprivacy",
|
||||
"token2",
|
||||
],
|
||||
text=True,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue