diff --git a/lms/templates/student_account/login.underscore b/lms/templates/student_account/login.underscore index d7b66864e0..0a2672e789 100644 --- a/lms/templates/student_account/login.underscore +++ b/lms/templates/student_account/login.underscore @@ -1,14 +1,15 @@
-<% if ( context.createAccountOption !== false && !context.syncLearnerProfileData && !context.enterpriseName) { %> +<% if ( context.createAccountOption !== false && !context.syncLearnerProfileData && !(context.enterpriseName && context.currentProvider) ) { %>
<%- gettext("First time here?") %> <%- gettext("Create an Account.") %>
<% } %> -<% if (context.enterpriseName) { %> +<% // Hide SSO related messages if we are not in the SSO pipeline. %> +<% if (context.enterpriseName && context.currentProvider) { %> <% if (context.pipelineUserDetails && context.pipelineUserDetails.email) { %>

<%- gettext("Sign in to continue learning as {email}").replace("{email}", context.pipelineUserDetails.email) %>

<% } else { %>