diff --git a/src/app/extensions/captcha/facades/captcha.facade.ts b/src/app/extensions/captcha/facades/captcha.facade.ts index c86c4ca87c..d0d55df6e7 100644 --- a/src/app/extensions/captcha/facades/captcha.facade.ts +++ b/src/app/extensions/captcha/facades/captcha.facade.ts @@ -3,7 +3,7 @@ import { Store, select } from '@ngrx/store'; import { Observable } from 'rxjs'; import { filter, map, switchMap, switchMapTo } from 'rxjs/operators'; -import { getFeatures, getServerConfigParameter } from 'ish-core/store/configuration'; +import { getServerConfigParameter } from 'ish-core/store/configuration'; import { whenTruthy } from 'ish-core/utils/operators'; // tslint:disable:member-ordering @@ -44,8 +44,6 @@ export class CaptchaFacade { captchaActive$(key: string): Observable { return this.store.pipe( filter(() => !!key), - select(getFeatures), - filter(features => !features.includes('noCaptcha')), switchMapTo(this.captchaVersion$), map(x => !!x), whenTruthy()