moodle-auth_nopin/error.php

16 lines
606 B
PHP
Raw Permalink Normal View History

2022-08-20 08:38:24 +00:00
<?php
require_once('../../config.php');
$PAGE->set_context(get_system_context());
$PAGE->set_pagelayout('admin');
$PAGE->set_title("Are you a crew member?");
$PAGE->set_url($CFG->wwwroot.'/auth/error.php');
echo $OUTPUT->header();
echo '<h1>Are you a crew member?</h1>';
echo '<p>Seems like you tried logging in with a crew ID. If you are a crew member, please login to the <a href="https://crewcheck.seachefs.com/">Crew Check Portal</a> to access the Sea Chefs Academy!</p>';
echo '<a class="btn-primary" href="https://crewcheck.seachefs.com/">To the Crew Check Portal</a>';
echo $OUTPUT->footer();
?>