mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-27 14:31:28 +00:00
fix: add string parsing
This commit is contained in:
parent
798f1631af
commit
1a8b0a51eb
|
@ -69,6 +69,8 @@ class KanidmAdminToken:
|
|||
except subprocess.CalledProcessError as e:
|
||||
print(e)
|
||||
|
||||
kanidm_admin_token = kanidm_admin_token.splitlines()[-1]
|
||||
|
||||
redis.set("kanidm:token", kanidm_admin_token)
|
||||
return kanidm_admin_token
|
||||
|
||||
|
|
Loading…
Reference in a new issue