Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-6193

problem with login/index.php file

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.2
    • 1.6.3, 1.7
    • Authentication
    • None
    • Linux
    • MOODLE_16_STABLE
    • MOODLE_16_STABLE, MOODLE_17_STABLE

    Description

      On line 178, the / appended to the $wwwroot variable was omitted. This causes problems when logging in by directing to an incorrectly displayed URL. The result is a not logged in status when the user is actually logged in.

      I added the / and it fixed the problem.

      } else {

      // no wantsurl stored or external - go to homepage

      $urltogo = $CFG->wwwroot; /// HERE'S THE PROBLEM SHOULD BE '$urltogo = $CFG->wwwroot./;'

      unset($SESSION->wantsurl);

      Attachments

        Activity

          People

            skodak Petr Skoda
            imported Imported
            Nobody Nobody
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10/Oct/06