Disable debugging output when redirecting after login
Disable debugging output when redirecting after login

--- a/include/controller/Controller_Login.class.php
+++ b/include/controller/Controller_Login.class.php
@@ -87,6 +87,7 @@
 						$this->headers[] = 'Location: ' . $this->params['redirect'];
 					else
 						$this->headers[] = 'Location: ' . $this->router->GetUrl(array(), true);
+					$this->DisableLogging();
 				}
 				$this->loginSuccess = true;
 			} else {
@@ -103,6 +104,7 @@
 						$this->headers[] = 'Location: ' . $this->params['redirect'];
 					else
 						$this->headers[] = 'Location: ' . $this->router->GetUrl(array(), true);
+					$this->DisableLogging();
 				}
 				$this->loginSuccess = true;
 			} else {

comments