$('oauth-enroll-cancel-button').textContent =
loadTimeData.getString('oauthEnrollCancelAutoEnrollmentGoBack');
}
+ this.classList.toggle('saml', false);
this.showStep(STEP_SIGNIN);
},
chrome.send('oauthEnrollRetrieveAuthenticatedUserEmail',
[msg.attemptToken]);
}
+
+ if (msg.method == 'authPageLoaded') {
+ if (msg.isSAML) {
+ $('oauth-saml-notice-message').textContent = loadTimeData.getStringF(
+ 'samlNotice',
+ msg.domain);
+ }
+ this.classList.toggle('saml', msg.isSAML);
+ }
}
};
});