Commit 765f4095cd962a2fa82aa7de660eddfbada48953

Authored by michael
1 parent 757cdc30

redirect to root if no parameters specified


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2530 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 3 additions and 0 deletions
presentation/login.php
@@ -148,5 +148,8 @@ if ($loginAction == "loginForm") { @@ -148,5 +148,8 @@ if ($loginAction == "loginForm") {
148 $url .= "&$queryString"; 148 $url .= "&$queryString";
149 } 149 }
150 redirect($url); 150 redirect($url);
  151 +} else {
  152 + // redirect to root
  153 + redirect($default->rootUrl);
151 } 154 }
152 ?> 155 ?>
153 \ No newline at end of file 156 \ No newline at end of file