version 1.105, 2007/01/12 15:06:18
|
version 1.106, 2007/01/12 15:44:27
|
Line 165 sub sso_login {
|
Line 165 sub sso_login {
|
# machine |
# machine |
&Apache::lonauth::success($r,$user,$domain,$home,'noredirect'); |
&Apache::lonauth::success($r,$user,$domain,$home,'noredirect'); |
$env{'request.sso.login'} = 1; |
$env{'request.sso.login'} = 1; |
|
if (defined($r->dir_config("lonSSOReloginServer"))) { |
|
$env{'request.sso.reloginserver'} = |
|
$r->dir_config('lonSSOReloginServer'); |
|
} |
$r->internal_redirect('/adm/switchserver'); |
$r->internal_redirect('/adm/switchserver'); |
$r->set_handlers('PerlHandler'=> undef); |
$r->set_handlers('PerlHandler'=> undef); |
} else { |
} else { |
Line 176 sub sso_login {
|
Line 180 sub sso_login {
|
'server' => $r->dir_config('lonHostID'), |
'server' => $r->dir_config('lonHostID'), |
'sso.login' => 1 |
'sso.login' => 1 |
); |
); |
|
if (defined($r->dir_config("lonSSOReloginServer"))) { |
|
$info{'sso.reloginserver'} = |
|
$r->dir_config('lonSSOReloginServer'); |
|
} |
my $token = |
my $token = |
&Apache::lonnet::tmpput(\%info, |
&Apache::lonnet::tmpput(\%info, |
$r->dir_config('lonHostID')); |
$r->dir_config('lonHostID')); |