fix typo in last commit

This commit is contained in:
Benjamin Dauvergne 2013-12-12 15:56:04 +01:00
parent bb9bcf88ad
commit 34e328c6f4
2 changed files with 2 additions and 2 deletions

View File

@ -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 ]

View File

@ -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)