Follow

Automatically Setting the Login Using in Pulse 1.4

If you are using multiple Authentication Providers and want to ensure that a specifc provider is always selected by default, you will want to edit the Login.aspx page located in C:\Program Files\Neudesic\Pulse\web\Views\Common

Place the following code in a new, or a existing <script> tag. For example location the script tag that contains

var wl_session_id = '<%=WindowsLiveSessionId%>';

Add the following code immediately after that and be sure to update the 'Launch Corp' to be the name of the Authentication Provider you want to have selected.

 

setTimeout ( 'setDefaultLogin()', 100 );

function setDefaultLogin()
{
   var loginSet = document.getElementById('login-type');
  
   for(var i = 0;i<loginSet.length;i++)
   {
      if(loginSet.options[i].text == 'Launch Corp')
{
  loginSet.selectedIndex = i;
}
   }
   showLoginForm();
}

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk