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; return false;
})(), })(),
"recaptchaSiteKey": "${recaptchaSiteKey}" "recaptchaSiteKey": "${recaptchaSiteKey!''}" || undefined
} }
</script> </script>

View File

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