Skip to content

Commit 2249083

Browse files
author
FrancescoMauto
committed
[DSC-2903] fix: lint
1 parent 12576b6 commit 2249083

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/app/core/google-recaptcha/google-recaptcha-base.component.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,13 @@ export abstract class GoogleRecaptchaBaseComponent {
4747
*/
4848
disableUntilChecked = true;
4949

50+
/**
51+
* The captcha cookie name to check for consent in the klaro-anonymous cookie.
52+
* Subclasses can override this to use a different consent key
53+
* (e.g. CAPTCHA_REGISTRATION_NAME for the registration form).
54+
*/
55+
protected captchaCookieName: string = CAPTCHA_FEEDBACK_NAME;
56+
5057
captchaVersion(): Observable<string> {
5158
return this.googleRecaptchaService.captchaVersion();
5259
}
@@ -75,13 +82,6 @@ export abstract class GoogleRecaptchaBaseComponent {
7582
);
7683
}
7784

78-
/**
79-
* The captcha cookie name to check for consent in the klaro-anonymous cookie.
80-
* Subclasses can override this to use a different consent key
81-
* (e.g. CAPTCHA_REGISTRATION_NAME for the registration form).
82-
*/
83-
protected captchaCookieName: string = CAPTCHA_FEEDBACK_NAME;
84-
8585
/**
8686
* Return true if the user has accepted the required cookies for reCaptcha
8787
*/

0 commit comments

Comments
 (0)