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

raeburn raeburn at source.lon-capa.org
Wed Feb 8 13:01:33 EST 2017


raeburn		Wed Feb  8 18:01:33 2017 EDT

  Modified files:              
    /loncom/auth	lonuploadedacc.pm 
  Log:
  - Use 'public' instead of public:public for $r->user if no real user could
    be extracted from form.token, for consistency with checkauthen.pm 
  
  
Index: loncom/auth/lonuploadedacc.pm
diff -u loncom/auth/lonuploadedacc.pm:1.16 loncom/auth/lonuploadedacc.pm:1.17
--- loncom/auth/lonuploadedacc.pm:1.16	Wed Feb  8 06:35:31 2017
+++ loncom/auth/lonuploadedacc.pm	Wed Feb  8 18:01:32 2017
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Access Handler for User Files
 #
-# $Id: lonuploadedacc.pm,v 1.16 2017/02/08 06:35:31 raeburn Exp $
+# $Id: lonuploadedacc.pm,v 1.17 2017/02/08 18:01:32 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -57,10 +57,10 @@
                    $r->user($cuname.':'.$cudom);
                }
            } else {
-               $r->user('public:public');
+               $r->user('public');
            }
        } else {
-           $r->user('public:public');
+           $r->user('public');
        }
        return OK;
    } elsif ($reply eq 'con_lost' || $reply eq 'no_such_host') {




More information about the LON-CAPA-cvs mailing list