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