mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
[UXP-10] Fix headers
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user