Project

General

Profile

Bug #7627

CAS : failed login after direct access to private course

Added by Kevin LEVRON over 4 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
10/04/2015
Due date:
% Done:

0%

Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

Hello

Tested on 1.9.10.

How to reproduce :
- access directly to a private course (without being logged)
- click on CAS authentication
- chamilo will then redirect user to the course page, but will not perform cas login before... etc

Debug :
  • First access
    • main/inc/lib/main_api.lib.php : api_not_allowed()
      • $_SESSION['request_uri'] = $_SERVER['REQUEST_URI'];
  • CAS Login
    • main/auth/cas/logincas.php
      • main/inc/local.inc.php :
        • main/inc/lib/redirect.class.php : $_SESSION['request_uri'] redirection (before cas login)

Related issues

Related to Chamilo LMS - Feature #6768: When use the course direct link, allow user to login and directly go into courseFeature implemented11/10/2013

Actions
Related to Chamilo LMS - Bug #7628: CAS : failed redirection after cas loginNew10/04/2015

Actions

Also available in: Atom PDF