Skip to content

Commit

Permalink
Merge pull request #3734 from crazyserver/MOBILE-4009
Browse files Browse the repository at this point in the history
MOBILE-4009 course: Check guest access ignoring cache
  • Loading branch information
NoelDeMartin authored Jul 12, 2023
2 parents 86dadb5 + 3772598 commit 7e2f70e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 7e2f70e

Please sign in to comment.