Commit a74183843f466e27641280fc58ef39581f999b75
1 parent
cdc7d092
Don't destroy sessions that we don't understand, they're probably just
stale. git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5283 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
0 additions
and
2 deletions
login.php
| @@ -46,8 +46,6 @@ class LoginPageDispatcher extends KTDispatcher { | @@ -46,8 +46,6 @@ class LoginPageDispatcher extends KTDispatcher { | ||
| 46 | else { | 46 | else { |
| 47 | exit(redirect(generateControllerLink('dashboard'))); | 47 | exit(redirect(generateControllerLink('dashboard'))); |
| 48 | } | 48 | } |
| 49 | - } else { | ||
| 50 | - $this->session->destroy(); // toast it - its probably a hostile session. | ||
| 51 | } | 49 | } |
| 52 | return true; | 50 | return true; |
| 53 | } | 51 | } |