From f9aec59f7d1a2f13624eb9155c52a86ac39cadde Mon Sep 17 00:00:00 2001 From: Eric Rasmussen <erasmussen2@unl.edu> Date: Wed, 28 Apr 2010 16:38:44 +0000 Subject: [PATCH] replace mod/profile/edit.php?username=name link with pg/profile/name/edit/ --- plugins/cas_auth_unl/actions/login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/cas_auth_unl/actions/login.php b/plugins/cas_auth_unl/actions/login.php index 6026af10..d7558013 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 { -- GitLab