diff --git a/src/app/core/register2/register2.form-adapter.ts b/src/app/core/register2/register2.form-adapter.ts index a5bd20c5b3..c9de930413 100644 --- a/src/app/core/register2/register2.form-adapter.ts +++ b/src/app/core/register2/register2.form-adapter.ts @@ -117,7 +117,6 @@ export function Register2FormAdapterMixin>(base: T) { } formGroupToAffiliationRegisterForm(formGroup: UntypedFormGroup) { - console.log('formGroupToAffiliationRegisterForm', formGroup) const value = formGroup.controls['organization'].value const departmentName = formGroup.controls['departmentName'].value const roleTitle = formGroup.controls['roleTitle'].value diff --git a/src/app/core/register2/sample-working.json b/src/app/core/register2/sample-working.json deleted file mode 100644 index 76b05fce29..0000000000 --- a/src/app/core/register2/sample-working.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "visibility": { - "visibility": "LIMITED" - }, - "putCode": {}, - "city": { - "value": "Somoskőújfalu" - }, - "region": { - "value": null - }, - "country": { - "value": "HU" - }, - "roleTitle": { - "value": "" - }, - "departmentName": { - "value": "" - }, - "affiliationType": { - "value": "employment" - }, - "startDate": { - "day": "", - "month": "", - "year": "" - }, - "endDate": { - "day": "", - "month": "", - "year": "" - }, - "url": { - "value": "" - }, - "disambiguationSource": { - "value": "ROR" - }, - "disambiguatedAffiliationSourceId": { - "value": "https://ror.org/01tbzkx87" - }, - "orgDisambiguatedId": { - "value": "ROR" - }, - "affiliationName": { - "value": "Crime Prevention Center" - } -} diff --git a/src/app/register2/register-state.service.ts b/src/app/register2/register-state.service.ts index 0354f4a9e0..58bf95ceb7 100644 --- a/src/app/register2/register-state.service.ts +++ b/src/app/register2/register-state.service.ts @@ -56,11 +56,9 @@ export class RegisterStateService { if (this.primaryEmailMatched) { this.rorIdHasBeenMatched = true this.matchOrganization$.next(this.primaryEmailMatched) - console.log('primaryEmailMatched', this.primaryEmailMatched) } else if (this.secondaryEmail) { this.rorIdHasBeenMatched = true this.matchOrganization$.next(this.secondaryEmail) - console.log('secondaryEmail', this.secondaryEmail) } else { this.rorIdHasBeenMatched = false this.matchOrganization$.next('') diff --git a/src/proxy.conf.qa.mjs b/src/proxy.conf.qa.mjs index 95e279cf05..6b494e7efe 100644 --- a/src/proxy.conf.qa.mjs +++ b/src/proxy.conf.qa.mjs @@ -7,7 +7,6 @@ export default { bypass: function (req, res, proxyOptions) { /// PRINT REQUEST PATH if (req.headers.accept?.includes('html')) { - console.log('Skipping proxy', req.path) return '/index.html' } req.headers['X-Dev-Header'] = 'local-host-proxy-call' @@ -21,7 +20,6 @@ export default { bypass: function (req, res, proxyOptions) { /// PRINT REQUEST PATH if (req.headers.accept?.includes('html') && req.path !== '/signout') { - console.log('Skipping proxy', req.path) return '/index.html' } req.headers['X-Dev-Header'] = 'local-host-proxy-call' diff --git a/src/proxy.conf.sandbox.mjs b/src/proxy.conf.sandbox.mjs index 1dc65ba9c3..1a7b8bdb03 100644 --- a/src/proxy.conf.sandbox.mjs +++ b/src/proxy.conf.sandbox.mjs @@ -7,7 +7,6 @@ export default { bypass: function (req, res, proxyOptions) { /// PRRINT REQUEST PATH if (req.headers.accept.includes('html')) { - console.log('Skipping proxy', req.path) return '/index.html' } req.headers['X-Dev-Header'] = 'local-host-proxy-call' @@ -21,7 +20,6 @@ export default { bypass: function (req, res, proxyOptions) { /// PRRINT REQUEST PATH if (req.headers.accept.includes('html')) { - console.log('Skipping proxy', req.path) return '/index.html' } req.headers['X-Dev-Header'] = 'local-host-proxy-call'