Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Sympa
Commits
76c47461
Commit
76c47461
authored
Oct 18, 2021
by
IKEDA Soji
Browse files
Fix: Invalid POST data breaks sso_login form for all users (#1245)
parent
b17e3bb8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cgi/wwsympa.fcgi.in
View file @
76c47461
...
...
@@ -3316,12 +3316,9 @@ sub do_sso_login {
}
## This is a CAS service
if (defined(
my $cas_id =
$Conf::Conf{'cas_id'}{$robot}{$in{'auth_service_name'}}
{'casnum'}
)
) {
if (exists $Conf::Conf{'cas_id'}{$robot}{$in{'auth_service_name'}}) {
my $cas_id =
$Conf::Conf{'cas_id'}{$robot}{$in{'auth_service_name'}}{'casnum'};
my $cas_server =
$Conf::Conf{'auth_services'}{$robot}[$cas_id]{'cas_server'};
...
...
@@ -3341,13 +3338,11 @@ sub do_sso_login {
}
} elsif (
defined(
my $sso_id =
$Conf::Conf{'generic_sso_id'}{$robot}
{$in{'auth_service_name'}}
)
exists $Conf::Conf{'generic_sso_id'}{$robot}{$in{'auth_service_name'}}
) {
## Generic SSO
my $sso_id =
$Conf::Conf{'generic_sso_id'}{$robot}{$in{'auth_service_name'}};
## If contacted via POST, then redirect the user to the URL for the
## access control to apply
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment