diff --git a/admin/src/core/services/cognito.service.ts b/admin/src/core/services/cognito.service.ts index f74b7ac4..07726d76 100644 --- a/admin/src/core/services/cognito.service.ts +++ b/admin/src/core/services/cognito.service.ts @@ -67,7 +67,6 @@ export class CognitoService { private getParameterByName(name) { const url = window.location.href; - name = name.replace(/[\[\]]/g, "\\$&"); const regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"); const results = regex.exec(url); if (!results) {