--- loncom/auth/lonroles.pm 2004/05/08 16:26:32 1.90 +++ loncom/auth/lonroles.pm 2004/05/21 19:16:35 1.92 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # User Roles Screen # -# $Id: lonroles.pm,v 1.90 2004/05/08 16:26:32 www Exp $ +# $Id: lonroles.pm,v 1.92 2004/05/21 19:16:35 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -47,7 +47,10 @@ sub redirect_user { $r->send_http_header; my $swinfo=&Apache::lonmenu::rawconfig(); my $bodytag=&Apache::loncommon::bodytag('Switching Role'); - $r->print (<print (<$title @@ -135,6 +138,7 @@ sub handler { &Apache::lonnet::assign_access_key( $ENV{'form.newkey'}, $authdom,$authnum, + $cdom,$cnum, $ENV{'user.domain'}, $ENV{'user.name'}, 'Assigned from '.$ENV{'REMOTE_ADDR'}.' at '.localtime().' for '.