Commit ca44cb4388267c58e2416ba1b164c09ab5bd489d
1 parent
38c39930
persist redirect on login failure
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2049 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
4 deletions
presentation/login.php
| ... | ... | @@ -142,11 +142,9 @@ if ($loginAction == "loginForm") { |
| 142 | 142 | } |
| 143 | 143 | } else { |
| 144 | 144 | // didn't receive any login parameters, so redirect login form |
| 145 | - // TODO: set "no login parameters received error message? | |
| 146 | - // internal error message- should never happen | |
| 147 | - $default->log->error(" | |
| 145 | + $default->log->error("login.php no login parameters received"); | |
| 148 | 146 | } |
| 149 | - if (strlen($queryString) > 0) { | |
| 147 | + if (strlen($queryString) > 0) { | |
| 150 | 148 | $url .= "&$queryString"; |
| 151 | 149 | } |
| 152 | 150 | redirect($url); | ... | ... |