Skip to content
Snippets Groups Projects
Commit 8622e14e authored by David Schmitz's avatar David Schmitz
Browse files

edugain login: update for error message handling

parent 4321400a
Branches
Tags working1
No related merge requests found
...@@ -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+")"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment