[sso-admin] Fix secret handling in check script

Xnet-DigitalDemocratic-main-patch-41273
Evilham 2022-07-28 18:28:22 +02:00
parent 4fb3b02a46
commit 1f962dbef7
No known key found for this signature in database
GPG Key ID: AE3EE30D970886BF
1 changed files with 2 additions and 2 deletions

View File

@ -29,8 +29,8 @@ import requests
from jose import jwt
## SETUP
domain = "admin.[YOURDOMAIN]"
secret = "[your API_SECRET]"
domain = f"admin.{ os.environ['DOMAIN'] }"
secret = os.environ['API_SECRET']
## END SETUP