June 2017
Beginner to intermediate
368 pages
8h 31m
English
The authentication process begins either because the user has attempted to log in directly at the login page (/login/index.php), or because the user has attempted to navigate to a Moodle page that requires them to log in. A page requiring a user to have logged in will include a call to either require_login() or require_course_login(), usually immediately after the call $PAGE->set_url() to specify the page URL. The steps taken to determine if a user login is required can be somewhat elaborate as this can depend on the visibility of a course. For example, is the course public? Do you need to be enrolled on the course to access it? Such courses are referred to as protected resources. In the next section, we ...
Read now
Unlock full access