--- loncom/auth/lonacc.pm 2014/05/05 23:17:12 1.155 +++ loncom/auth/lonacc.pm 2014/05/17 21:43:55 1.156 @@ -1,7 +1,7 @@ # The LearningOnline Network # Cookie Based Access Handler # -# $Id: lonacc.pm,v 1.155 2014/05/05 23:17:12 raeburn Exp $ +# $Id: lonacc.pm,v 1.156 2014/05/17 21:43:55 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -283,7 +283,7 @@ sub sso_login { my ($r,$handle,$username) = @_; my $lonidsdir=$r->dir_config('lonIDsDir'); - if (($r->user eq '') || ($username ne '') || + if (($r->user eq '') || ($username ne '') || ($r->user eq 'public:public') || (defined($env{'user.name'}) && (defined($env{'user.domain'})) && ($handle ne ''))) { # not an SSO case or already logged in