Jump to content
Welcome to our new Citrix community!

Append @domain for Username at Gateway


Recommended Posts

Hello,
I am attempting to port a customization from 10.5 to 12.1 that appends "@xyzdomain.com" for any entered username at the Netscaler Gateways.  We then send this this email address to DUO via a radius auth policy.  This was previously accomplished by adding the following function to the index.html:

 

function AppendDomain() 
{ 
        var check = document.getElementById("Enter user name").value; 
        if((check.indexOf('@xyzdomain.com') == -1) && (check.trim().length > 0)) 
        { 
                document.getElementById("Enter user name").value = check.trim() + '@xyzdomain.com'; 
        } 
}


onchange="AppendDomain()


It appears this functionality now belongs in gateway_login_form_view.js but I'm not sure how to accomplish it.  We are trying to upgrade our netscaler gateways from 10.5 to 12.1.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...