Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FoD
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Schmitz
FoD
Commits
8622e14e
Commit
8622e14e
authored
6 years ago
by
David Schmitz
Browse files
Options
Downloads
Patches
Plain Diff
edugain login: update for error message handling
parent
4321400a
Branches
Branches containing commit
Tags
working1
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
flowspec/views.py
+5
-1
5 additions, 1 deletion
flowspec/views.py
with
5 additions
and
1 deletion
flowspec/views.py
+
5
−
1
View file @
8622e14e
...
@@ -531,7 +531,11 @@ def get_shibboleth_attrib_info_from_settings(attrib_key, add_long_info):
...
@@ -531,7 +531,11 @@ def get_shibboleth_attrib_info_from_settings(attrib_key, add_long_info):
if
attrib_display_name
!=
None
and
attrib_display_name
!=
""
:
if
attrib_display_name
!=
None
and
attrib_display_name
!=
""
:
attrib_info
=
attrib_display_name
attrib_info
=
attrib_display_name
else
:
else
:
attrib_info
=
attrib_key
# TODO: remove ^HTTP_ and then ^SHIB_
attrib_info
=
attrib_key
# remove ^HTTP_ and then ^SHIB_
if
attrib_info
.
startswith
(
"
HTTP_
"
):
attrib_info
[
len
(
"
HTTP_
"
):]
if
attrib_info
.
startswith
(
"
SHIB_
"
):
attrib_info
[
len
(
"
SHIB_
"
):]
if
add_long_info
and
attrib_display_addinfo
!=
None
and
attrib_display_addinfo
!=
""
:
if
add_long_info
and
attrib_display_addinfo
!=
None
and
attrib_display_addinfo
!=
""
:
attrib_info
=
attrib_info
+
"
(
"
+
attrib_display_addinfo
+
"
)
"
attrib_info
=
attrib_info
+
"
(
"
+
attrib_display_addinfo
+
"
)
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment