[LON-CAPA-cvs] cvs: loncom /auth lonroles.pm

www www at source.lon-capa.org
Fri Oct 21 12:28:49 EDT 2011


www		Fri Oct 21 16:28:49 2011 EDT

  Modified files:              
    /loncom/auth	lonroles.pm 
  Log:
  Bug #1320
  
  
Index: loncom/auth/lonroles.pm
diff -u loncom/auth/lonroles.pm:1.261 loncom/auth/lonroles.pm:1.262
--- loncom/auth/lonroles.pm:1.261	Fri Sep  9 16:34:41 2011
+++ loncom/auth/lonroles.pm	Fri Oct 21 16:28:49 2011
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # User Roles Screen
 #
-# $Id: lonroles.pm,v 1.261 2011/09/09 16:34:41 bisitz Exp $
+# $Id: lonroles.pm,v 1.262 2011/10/21 16:28:49 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -601,7 +601,7 @@
                     if ($role =~ /^(au|ca|aa)$/) {
                         my $redirect_url = '/priv/';
                         if ($role eq 'au') {
-                            $redirect_url.=$env{'user.name'};
+                            $redirect_url.=$env{'user.domain'}.'/'.$env{'user.name'};
                         } else {
                             $where =~ /\/(.*)$/;
                             $redirect_url .= $1;




More information about the LON-CAPA-cvs mailing list