[UXP-10] Fix headers

This commit is contained in:
Davide Negretti
2022-09-07 19:01:54 +02:00
parent 05ec096ec9
commit db6c8f00a8

View File

@@ -67,7 +67,7 @@ export class EpersonRegistrationService {
const options: HttpOptions = Object.create({}); const options: HttpOptions = Object.create({});
let headers = new HttpHeaders(); let headers = new HttpHeaders();
if (captchaToken) { if (captchaToken) {
headers = headers.append('X-Recaptcha-Token', captchaToken); headers = headers.append('x-recaptcha-token', captchaToken);
} }
options.headers = headers; options.headers = headers;