fix typo in last commit
This commit is contained in:
parent
bb9bcf88ad
commit
34e328c6f4
|
@ -66,7 +66,7 @@ class AuthSAML2Backend:
|
|||
code = '<div>'
|
||||
code += _('Sending logout to %(pid)s....') % { 'pid': name or provider_id }
|
||||
code += '''<iframe src="%s?provider_id=%s" marginwidth="0" marginheight="0" \
|
||||
scrolling="no" style="border: none" width="16" height="16" onload="window.iframe_count -= 1; console.log(windows.location.href + ' decrement iframe_count');"></iframe></div>''' \
|
||||
scrolling="no" style="border: none" width="16" height="16" onload="window.iframe_count -= 1; console.log(window.location.href + ' decrement iframe_count');"></iframe></div>''' \
|
||||
% (reverse(saml2_endpoints.sp_slo,
|
||||
args=[provider_id]), provider_id)
|
||||
return [ code ]
|
||||
|
|
|
@ -65,7 +65,7 @@ class SamlBackend(object):
|
|||
code = '<div>'
|
||||
code += _('Sending logout to %(name)s....') % { 'name': name or provider_id}
|
||||
code += '''<iframe src="%s?provider_id=%s" marginwidth="0" marginheight="0" \
|
||||
scrolling="no" style="border: none" width="16" height="16" onload="window.iframe_count -= 1;console.log(windows.location.href + ' decrement iframe_count');"></iframe></div>''' % \
|
||||
scrolling="no" style="border: none" width="16" height="16" onload="window.iframe_count -= 1;console.log(window.location.href + ' decrement iframe_count');"></iframe></div>''' % \
|
||||
(reverse(saml2_endpoints.idp_slo, args=[provider_id]), provider_id)
|
||||
logger.debug("logout_list: code %r" % code)
|
||||
result.append(code)
|
||||
|
|
Loading…
Reference in New Issue