Feature #4782
Move login code from local to function
Start date:
21/05/2012
Due date:
% Done:
50%
Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?
Description
The login logic (set up user, course, etc) is provided in local.inc.php as script.
As a result it is not possible to call this script from other parts (i.e. shibboleth) of the application.
The only solution left is to include local.inc.php which creates issues (infinite redirect).
A better scheme would be to move that code to login.inc.
Related issues
History
Updated by Yannick Warnier over 8 years ago
Check into the auth/sso.class.php, I think there is a function there (will check that later but busy on something else right now)
Updated by Laurent Opprecht over 8 years ago
- % Done changed from 0 to 50
Some work done for key auth
Updated by Julio Montoya over 8 years ago
- Target version changed from 1.9.2 to 1.9.4
Moving task to 1.9.4
Updated by Julio Montoya over 8 years ago
- Target version changed from 1.9.4 to 2.0
Moving to 1.10 local.inc.php is kind of a "sensitive" file