X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=password_change.php;h=2dce99f9a63b4d3d92ce7c362d6b13d8624ded06;hb=aeb30899d6ec142220d83b34fd8f6c68c05e8e90;hp=832118f6c3fdb826e65c9a6a7d47a1997e797d2b;hpb=4dcb88a76a3de466ee6116ae0852f53ba2b259a5;p=timetracker.git diff --git a/password_change.php b/password_change.php index 832118f6..2dce99f9 100644 --- a/password_change.php +++ b/password_change.php @@ -49,8 +49,8 @@ if ($user_id) { $smarty->assign('i18n', $i18n->keys); } if ($user->custom_logo) { - $smarty->assign('custom_logo', 'images/'.$user->team_id.'.png'); - $smarty->assign('mobile_custom_logo', '../images/'.$user->team_id.'.png'); + $smarty->assign('custom_logo', 'images/'.$user->group_id.'.png'); + $smarty->assign('mobile_custom_logo', '../images/'.$user->group_id.'.png'); } $smarty->assign('user', $user); } @@ -83,7 +83,7 @@ if ($request->isPost()) { setcookie('tt_login', $user->login, time() + COOKIE_EXPIRE, '/'); // 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 {