diff --git a/plugins/cas_auth_unl/actions/login.php b/plugins/cas_auth_unl/actions/login.php index 6026af10e7986d60ba05295a72eb510c789eb3f2..d7558013e3b5df62a35f58af898695696dce21c1 100644 --- a/plugins/cas_auth_unl/actions/login.php +++ b/plugins/cas_auth_unl/actions/login.php @@ -63,7 +63,7 @@ if ($result) { forward('pg/admin/plugins'); } else if ($_SESSION['user']->last_login == '0' && $view != 'mobile') { - forward('mod/profile/edit.php?username='.$_SESSION['username'].'&firstlogin=yes'); + forward('pg/profile/'.$_SESSION['username'].'/edit/?firstlogin=yes'); } else if (get_input('returntoreferer')) { forward($_SERVER['HTTP_REFERER']); } else {