XOOPS Cube Legacy base repository
Revisión | c6d5a71eb6a24b1a9c61054b24468c9160067d7d (tree) |
---|---|
Tiempo | 2010-01-24 14:25:31 |
Autor | kilica <kilica@704c...> |
Commiter | kilica |
- Fix Bug #2839172 - missing SSLLogin feature.
git-svn-id: https://xoopscube.svn.sourceforge.net/svnroot/xoopscube/Package_Legacy/trunk@406 704cf05f-ae62-4b0e-a484-234ee0250e75
@@ -1,6 +1,18 @@ | ||
1 | 1 | XOOPS Cube Legacy "Package_Legacy" & "XCube core" Changelog |
2 | 2 | |
3 | 3 | ---------------------------------------- |
4 | +2010/XX/XX: Package Revision 2.1.8 | |
5 | +---------------------------------------- | |
6 | +[Bug Fix - From Bug Tracker] | |
7 | +- Fix Bug #2806101 - References to JP.XOOPS.ORG (removed by XOOPS Foundation). | |
8 | +- Fix Bug #2839172 - missing SSLLogin feature. | |
9 | + | |
10 | +[Staff] | |
11 | +- GIJOE | |
12 | +- kilica | |
13 | +- Mikhail | |
14 | + | |
15 | +---------------------------------------- | |
4 | 16 | 2009/05/23: Package Revision 2.1.7 |
5 | 17 | ---------------------------------------- |
6 | 18 | [Bug Fix - From Bug Tracker] |
@@ -28,7 +28,14 @@ class Legacy_MiscSslloginAction extends Legacy_Action | ||
28 | 28 | // Because this action's template uses USER message catalog, load it. |
29 | 29 | // |
30 | 30 | $root =& $controller->mRoot; |
31 | - | |
31 | + | |
32 | + $config_handler =& xoops_gethandler('config'); | |
33 | + $moduleConfigUser =& $config_handler->getConfigsByDirname('user'); | |
34 | + | |
35 | + if($moduleConfigUser['use_ssl'] == 1 && ! empty($_POST[$moduleConfigUser['sslpost_name']])){ | |
36 | + session_id($_POST[$moduleConfigUser['sslpost_name']]); | |
37 | + } | |
38 | + | |
32 | 39 | $render->setTemplateName("legacy_misc_ssllogin.html"); |
33 | 40 | $render->setAttribute("message", XCube_Utils::formatMessage(_MD_LEGACY_MESSAGE_LOGIN_SUCCESS, $xoopsUser->get('uname'))); |
34 | 41 | } |