Fix register page 500

This commit is contained in:
Joseph Garrone 2021-03-05 14:50:46 +01:00
parent 26b0b55a7d
commit 98f647fadf
2 changed files with 3 additions and 2 deletions

View File

@ -41,6 +41,6 @@
return false;
})(),
"recaptchaSiteKey": "${recaptchaSiteKey}"
"recaptchaSiteKey": "${recaptchaSiteKey!''}" || undefined
}
</script>

View File

@ -113,7 +113,8 @@ export declare namespace KcContext {
};
passwordRequired: boolean;
recaptchaRequired: boolean;
recaptchaSiteKey: string;
/** undefined if !recaptchaRequired */
recaptchaSiteKey?: string;
};
}