--- loncom/auth/lonacc.pm 2013/12/19 22:50:16 1.150 +++ loncom/auth/lonacc.pm 2014/01/04 23:21:22 1.151 @@ -1,7 +1,7 @@ # The LearningOnline Network # Cookie Based Access Handler # -# $Id: lonacc.pm,v 1.150 2013/12/19 22:50:16 raeburn Exp $ +# $Id: lonacc.pm,v 1.151 2014/01/04 23:21:22 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -364,6 +364,11 @@ sub sso_login { $info{$item} = $form{$item}; } } + unless ($info{'symb'}) { + unless ($r->uri eq '/adm/roles') { + $info{'origurl'} = $r->uri; + } + } if ($r->dir_config("ssodirecturl") == 1) { $info{'origurl'} = $r->uri; }