mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
Merge branch 'MDL-69958-well-known-password' of https://github.com/brendanheywood/moodle
This commit is contained in:
commit
be5de5fccf
@ -29,6 +29,12 @@
|
||||
|
||||
require('../config.php'); // phpcs:ignore
|
||||
|
||||
// Until we have a more robust routing api in place this is a very simple
|
||||
// and clean way to handle arbitrary urls without a php extension.
|
||||
if ($ME === '/.well-known/change-password') {
|
||||
redirect(new moodle_url('/login/change_password.php'));
|
||||
}
|
||||
|
||||
$context = context_system::instance();
|
||||
$title = get_string('pagenotexisttitle', 'error');
|
||||
$PAGE->set_url('/error/index.php');
|
||||
|
Loading…
x
Reference in New Issue
Block a user