MDL-87694 profile: change page title to "Login required".

This realigns the page title with public/user/view.php.
This commit is contained in:
Stefan Topfstedt
2026-02-02 10:22:59 -08:00
parent e5c97cf83d
commit 5b4fa5eb04
+1 -1
View File
@@ -50,7 +50,7 @@ if (!empty($CFG->forceloginforprofiles)) {
require_login();
if (isguestuser()) {
$PAGE->set_context(context_system::instance());
$PAGE->set_title(get_string('user'));
$PAGE->set_title(get_string('loginrequired'));
echo $OUTPUT->header();
echo $OUTPUT->confirm(
get_string('guestcantaccessprofiles', 'error'),