$user = new ttUser(null, $auth->getUserId());
// Redirect, depending on user role.
if ($user->can('administer_site')) {
- header('Location: admin_teams.php');
+ header('Location: admin_groups.php');
} elseif ($user->isClient()) {
header('Location: reports.php');
} else {