BUG 0000 Forgot Password (2nd commit)

This commit is contained in:
Erik Amaru Ortiz
2011-06-03 15:07:04 -04:00
parent 4c16687e37
commit 2d187cdc13
4 changed files with 64 additions and 14 deletions

View File

@@ -607,7 +607,11 @@ $startingTime = array_sum(explode(' ',microtime()));
}
if ($bRedirect) {
if (empty($_POST)) {
header('location: ' . SYS_URI . 'login/login?u=' . urlencode($_SERVER['REQUEST_URI']));
//if(SYS_TARGET != 'forgotPassword')
header('location: ' . SYS_URI . 'login/login?u=' . urlencode($_SERVER['REQUEST_URI']));
//else
//header('location: ' . SYS_URI . 'login/forgotPassword');
}
else {
header('location: ' . SYS_URI . 'login/login');