Skip to content

Commit

Permalink
fix: defensive set var
Browse files Browse the repository at this point in the history
  • Loading branch information
Edward Zarecor committed Jan 18, 2023
1 parent c7498d1 commit 74cf7ce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
CORS_ALLOW_CREDENTIALS = True
CORS_ORIGIN_WHITELIST = []

{% set jwt_rsa_key = rsa_import_key(JWT_RSA_PRIVATE_KEY) %}
{% set jwt_rsa_key | rsa_import_key %}{{ JWT_RSA_PRIVATE_KEY }}{% endset %}
JWT_AUTH["JWT_ISSUER"] = "{{ JWT_COMMON_ISSUER }}"
JWT_AUTH["JWT_AUDIENCE"] = "{{ JWT_COMMON_AUDIENCE }}"
JWT_AUTH["JWT_SECRET_KEY"] = "{{ JWT_COMMON_SECRET_KEY }}"
Expand Down

0 comments on commit 74cf7ce

Please sign in to comment.