version 1.159.2.21.2.3, 2022/08/30 11:58:44
|
version 1.159.2.21.2.4, 2023/01/23 00:32:03
|
Line 387 sub sso_login {
|
Line 387 sub sso_login {
|
if ($firsturl =~ m{^/tiny/$match_domain/\w+$}) { |
if ($firsturl =~ m{^/tiny/$match_domain/\w+$}) { |
$form{'origurl'} = $firsturl; |
$form{'origurl'} = $firsturl; |
$deeplinkurl = $firsturl; |
$deeplinkurl = $firsturl; |
|
} elsif ($firsturl eq '/adm/email') { |
|
$form{'origurl'} = $firsturl; |
} |
} |
if ($form{'linkprot'}) { |
if ($form{'linkprot'}) { |
$linkprot = $form{'linkprot'}; |
$linkprot = $form{'linkprot'}; |
Line 533 sub sso_login {
|
Line 535 sub sso_login {
|
$env{'request.linkkey'} = $linkkey; |
$env{'request.linkkey'} = $linkkey; |
} |
} |
} |
} |
|
if (($r->uri eq '/adm/sso') && ($form{'origurl'} eq '/adm/email')) { |
|
if ($form{'display'} && ($env{'form.mailrecip'} eq $user.':'.$domain)) { |
|
$env{'request.display'} = $form{'display'}; |
|
$env{'request.mailrecip'} = $env{'form.mailrecip'}; |
|
} |
|
} |
$env{'request.sso.login'} = 1; |
$env{'request.sso.login'} = 1; |
if (defined($r->dir_config("lonSSOReloginServer"))) { |
if (defined($r->dir_config("lonSSOReloginServer"))) { |
$env{'request.sso.reloginserver'} = |
$env{'request.sso.reloginserver'} = |
Line 587 sub sso_login {
|
Line 595 sub sso_login {
|
$info{'linkkey'} = $linkkey; |
$info{'linkkey'} = $linkkey; |
} |
} |
} |
} |
|
if (($r->uri eq '/adm/sso') && ($form{'origurl'} eq '/adm/email')) { |
|
if ($form{'display'} && ($form{'mailrecip'} eq $user.':'.$domain)) { |
|
$info{'display'} = &escape($form{'display'}); |
|
$info{'mailrecip'} = &escape($form{'mailrecip'}); |
|
} |
|
} |
if ($r->dir_config("ssodirecturl") == 1) { |
if ($r->dir_config("ssodirecturl") == 1) { |
$info{'origurl'} = $r->uri; |
$info{'origurl'} = $r->uri; |
} |
} |