mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-02 13:49:00 +02:00
Removed the hightlight-sso-2 split test, Re-order login SSO options & remove ShareLaTeX wording (#9984)
* removed the hgihlight-sso-2 split test * added the correct variant * removed the if else condition * renamed the file _registration_sso_highlight_sso_variant.pug to _registration_sso.pug * replaced with home-registration * Swapped translations and deleted one * removed shareLatex login text from login page and related translations that were being used only once in this code snippet * renamed a file name while rendering it and deleted the unsuded file. and replaced a string with error variable for message * added event segmentation back * swapped two lines * removed event-segemntation from one file GitOrigin-RevId: d99de42215e9f6034f618c47dbd47fa7a4913efa
This commit is contained in:
@@ -38,18 +38,12 @@ async function _addAffiliation(user, affiliationOptions) {
|
||||
|
||||
async function recordRegistrationEvent(user) {
|
||||
try {
|
||||
const highlightSSOAssignment =
|
||||
await SplitTestHandler.promises.getAssignmentForUser(
|
||||
user._id,
|
||||
'highlight-sso-2'
|
||||
)
|
||||
const homeRegistrationAssignment =
|
||||
await SplitTestHandler.promises.getAssignmentForUser(
|
||||
user._id,
|
||||
'home-registration'
|
||||
)
|
||||
const segmentation = {
|
||||
highlightSSO: highlightSSOAssignment.variant === 'active',
|
||||
'home-registration': homeRegistrationAssignment.variant,
|
||||
}
|
||||
if (user.thirdPartyIdentifiers && user.thirdPartyIdentifiers.length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user