|
|
As reported in http://moodle.org/mod/forum/discuss.php?d=38604#p457138
When addressing a MRBS calendar page directly by the URL, and clicking on the "add bookings" sign, A login form is displayed. This login form does not allow the user to login via moodle.
This behavior can be changed by replacing the entire function printLoginForm($TargetURL) on Line 85 of session_php.php
with this code:
function printLoginForm($TargetURL)
{
global $PHP_SELF;
$SESSION->wantsurl = $TargetURL;
require_login();
}
I've attached a patch.
|
|
Description
|
As reported in http://moodle.org/mod/forum/discuss.php?d=38604#p457138
When addressing a MRBS calendar page directly by the URL, and clicking on the "add bookings" sign, A login form is displayed. This login form does not allow the user to login via moodle.
This behavior can be changed by replacing the entire function printLoginForm($TargetURL) on Line 85 of session_php.php
with this code:
function printLoginForm($TargetURL)
{
global $PHP_SELF;
$SESSION->wantsurl = $TargetURL;
require_login();
}
I've attached a patch. |
Show » |
arborrow committed 1 file to 'Contrib CVS' - 18/Aug/08 06:49 AM
CONTRIB-665 - use Moodle require login to handle login in session_php file, credit to Stephen Bourget for the patch
|
|
|
|