From ad4d593168844a602c0bbc9d9cf0bb72e68334a9 Mon Sep 17 00:00:00 2001 From: RohanSaeed Date: Tue, 7 May 2024 18:00:00 +0500 Subject: [PATCH] fix: make award program certificate work --- changelog.d/20240507_165604_rohansaeed.md | 1 + tutorcredentials/patches/openedx-lms-common-settings | 1 + tutorcredentials/plugin.py | 1 + 3 files changed, 3 insertions(+) create mode 100644 changelog.d/20240507_165604_rohansaeed.md diff --git a/changelog.d/20240507_165604_rohansaeed.md b/changelog.d/20240507_165604_rohansaeed.md new file mode 100644 index 0000000..518c424 --- /dev/null +++ b/changelog.d/20240507_165604_rohansaeed.md @@ -0,0 +1 @@ +- [BugFix] Fix award program certificates error. (by @rohan-saeed) diff --git a/tutorcredentials/patches/openedx-lms-common-settings b/tutorcredentials/patches/openedx-lms-common-settings index e69de29..6b0f7b2 100644 --- a/tutorcredentials/patches/openedx-lms-common-settings +++ b/tutorcredentials/patches/openedx-lms-common-settings @@ -0,0 +1 @@ +CREDENTIALS_SERVICE_USERNAME = "{{ CREDENTIALS_SERVICE_USERNAME }}" diff --git a/tutorcredentials/plugin.py b/tutorcredentials/plugin.py index 7eeb734..b1bdca3 100644 --- a/tutorcredentials/plugin.py +++ b/tutorcredentials/plugin.py @@ -37,6 +37,7 @@ "THEME_NAME": "edx-theme", "REPOSITORY": "https://github.com/openedx/credentials.git", "REPOSITORY_VERSION": "{{ OPENEDX_COMMON_VERSION }}", + "SERVICE_USERNAME": "credentials", }, "unique": { "MYSQL_PASSWORD": "{{ 8|random_string }}",