diff --git a/selfprivacy_api/repositories/users/kanidm_user_repository.py b/selfprivacy_api/repositories/users/kanidm_user_repository.py index f66f5fb..f907dac 100644 --- a/selfprivacy_api/repositories/users/kanidm_user_repository.py +++ b/selfprivacy_api/repositories/users/kanidm_user_repository.py @@ -108,7 +108,7 @@ class KanidmUserRepository(AbstractUserRepository): full_endpoint, json=data, headers={ - "Authorization": f"Bearer {KanidmPassword.get()}", + "Authorization": f"Bearer {KanidmAdminToken.get()}", "Content-Type": "application/json", }, timeout=0.8, # TODO: change timeout