Skip to content

Commit

Permalink
Fix Moodle plugin CI errors in auth_oidc
Browse files Browse the repository at this point in the history
  • Loading branch information
patmr7 committed Oct 25, 2024
1 parent 60139f9 commit a03fd60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions auth/oidc/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
* @copyright (C) 2014 onwards Microsoft, Inc. (http://microsoft.com/)
*/

// phpcs:disable moodle.Files.RequireLogin.Missing

// phpcs:ignore moodle.Files.RequireLogin.Missing
require_once(__DIR__.'/../../config.php');
require_once(__DIR__.'/auth.php');

Expand Down
3 changes: 1 addition & 2 deletions auth/oidc/logout.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
* @copyright (C) 2014 onwards Microsoft, Inc. (http://microsoft.com/)
*/

// phpcs:disable moodle.Files.RequireLogin.Missing

// phpcs:ignore moodle.Files.RequireLogin.Missing
require_once(__DIR__ . '/../../config.php');

$PAGE->set_url('/auth/oidc/logout.php');
Expand Down

0 comments on commit a03fd60

Please sign in to comment.