From 377259866c9f929793ca872b8a93b245848b5138 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Tue, 11 Jul 2023 17:30:16 +0200 Subject: [PATCH] MOBILE-4009 course: Check guest access ignoring cache --- .../features/course/pages/course-summary/course-summary.page.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/features/course/pages/course-summary/course-summary.page.ts b/src/core/features/course/pages/course-summary/course-summary.page.ts index fcae410d8ef..b510fc6b3f7 100644 --- a/src/core/features/course/pages/course-summary/course-summary.page.ts +++ b/src/core/features/course/pages/course-summary/course-summary.page.ts @@ -298,7 +298,7 @@ export class CoreCourseSummaryPage implements OnInit, OnDestroy { if (this.useGuestAccess && this.guestAccessPasswordRequired && guestInstanceId) { // Check if the user has access to the course as guest with a previous sent password. let validated = await CoreUtils.promiseWorks( - CoreCourse.getSections(this.courseId, true, true, undefined, undefined, false), + CoreCourse.getSections(this.courseId, true, true, { getFromCache: false, emergencyCache: false }, undefined, false), ); if (!validated) {