X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/806dde3c7931d1a0d13c4f0469013a79e6198dcc..98907514962d51214461614c73087dc9f0f6c2f7:/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')); }