X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/eb55e2f8ca3859482a389795e03b45283e14ef36..c4ba91b8e545d337e78496d0b780dc30b46ec05f:/login.php diff --git a/login.php b/login.php index 19b88eac..7f55853a 100644 --- a/login.php +++ b/login.php @@ -65,16 +65,14 @@ if ($request->isPost()) { // Redirect, depending on user role. if ($user->isAdmin()) { header('Location: admin_teams.php'); - exit(); } else if ($user->isClient()) { header('Location: reports.php'); - exit(); } else { header('Location: time.php'); - exit(); } + exit(); } else $err->add($i18n->getKey('error.auth')); }