|
82 | 82 | var languageDictionary;
|
83 | 83 | var language;
|
84 | 84 | var optionsObj = Array();
|
| 85 | + var primaryRoleOptionsObj = [{ |
| 86 | + label: 'Talent - join as a community member', |
| 87 | + value: 'Topcoder Talent' |
| 88 | + }, { |
| 89 | + label: 'Customer - join to get work done', |
| 90 | + value: 'Topcoder Customer' |
| 91 | + }]; |
85 | 92 | var regSource = config.extraParams.reg_source || null;
|
86 | 93 | var utmSource = config.extraParams.utm_source || null;
|
87 | 94 | var utmMedium = config.extraParams.utm_medium || null;
|
|
104 | 111 | title: "Topcoder Login",
|
105 | 112 | error: {
|
106 | 113 | login: {
|
107 |
| - 'lock.fallback': "We're sorry, something went wrong when attempting to log in." |
| 114 | + 'lock.fallback': "We're sorry, something went wrong when attempting to log in.", |
| 115 | + 'deactivated_account': "Account is deactivated" |
108 | 116 | },
|
109 | 117 | signUp: {
|
110 | 118 | "lock.fallback": "We're sorry, something went wrong when attempting to sign up.",
|
|
188 | 196 | socialButtonStyle: 'small'
|
189 | 197 | },
|
190 | 198 | tc_standard: {
|
191 |
| - allowedConnections: ['TC-User-Database', 'github', 'google-oauth2', 'wipro-adfs', 'wipro-azuread', 'Verified-User-Database'], |
| 199 | + allowedConnections: ['TC-User-Database', 'github', 'google-oauth2', 'wipro-adfs', 'wipro-azuread', 'Verified-User-Database','TopcoderProductionGoogleWorkspace'], |
192 | 200 | theme: {
|
193 | 201 | logo: 'https://i.imgur.com/IY6TVjY.png',
|
194 | 202 | primaryColor: '#137d60'
|
|
332 | 340 | };
|
333 | 341 | }
|
334 | 342 | },
|
| 343 | + { |
| 344 | + type: "select", |
| 345 | + name: "primaryRole", |
| 346 | + placeholder: "Select your role", |
| 347 | + options: primaryRoleOptionsObj, |
| 348 | + fieldLabel: 'The role you select maybe changed in your Profile Settings.', |
| 349 | + fieldPlaceholder: 'Talent join to learn, complete, connect and find freelance gig work. Customers join to launch challenges, find freelancers, and get work done.' |
| 350 | + }, |
335 | 351 | {
|
336 | 352 | type: "select",
|
337 | 353 | name: "country",
|
|
0 commit comments