Created
May 6, 2016 14:16
-
-
Save bcavileer/b35df27255a48557f2c020b1a1d76f5a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head> | |
| <%= stylesheet_link_tag 'sso' %> | |
| <%= javascript_include_tag 'jquery' %> | |
| <script> | |
| $(document).ready(function() { | |
| var trusted = false; | |
| try { | |
| new ActiveXObject('Scripting.FileSystemObject'); | |
| trusted = true; | |
| } catch (_error) { | |
| } | |
| if (trusted) { | |
| $('#cancel_autologin', window.parent.document).show(); | |
| $('iframe', window.parent.document).show(); | |
| window.location.replace('<%= ntlm_sso_path %>'); | |
| } | |
| }); | |
| </script> | |
| </head> | |
| <body> | |
| <div id="sso_detect"> | |
| <p>Attempting Windows Auto-Login</p> | |
| </div> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment