Commit 22fa22ba4805013a480773600797212c0676c00a
1 parent
888484fa
KTS-2295
"CLONE -Links to KT documents/folders do not work in MS Word (SUP-390)" Fixed. Removed all logic for redirecting to the dashboard after a time-out. Committed by: Megan Watson Reviewed by: Conrad Vermeulen git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@8378 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
5 additions
and
0 deletions
login.php
| ... | ... | @@ -96,6 +96,10 @@ class LoginPageDispatcher extends KTDispatcher { |
| 96 | 96 | #var_dump(PEAR::raiseError()); |
| 97 | 97 | } |
| 98 | 98 | |
| 99 | + /* | |
| 100 | + Removing the code that redirects to the dashboard as it breaks linking in from external documents. | |
| 101 | + The fix below doesn't work if the users are behind a proxy server. | |
| 102 | + | |
| 99 | 103 | // If the last user from the same IP address timed out within the last hour then redirect to the dashboard |
| 100 | 104 | // Otherwise allow any other redirect to continue. |
| 101 | 105 | // The user might still be taken to the last page of the previous users session but |
| ... | ... | @@ -104,6 +108,7 @@ class LoginPageDispatcher extends KTDispatcher { |
| 104 | 108 | { |
| 105 | 109 | $_REQUEST['redirect'] = generateControllerLink('dashboard'); |
| 106 | 110 | } |
| 111 | + */ | |
| 107 | 112 | |
| 108 | 113 | $session = new Session(); |
| 109 | 114 | $sessionID = $session->create($oUser); | ... | ... |