Make hCaptcha site key configurable
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
--- a/src/routes/auth/login.js
|
||||
+++ b/src/routes/auth/login.js
|
||||
@@ -247,7 +247,7 @@
|
||||
{tr("are_you_a_robot")}
|
||||
</DialogTitle>
|
||||
<DialogContent>
|
||||
- <HCaptcha theme={themeMode} sitekey="1788882d-3695-4807-abac-7d7166ec6325" onVerify={handleCaptcha} />
|
||||
+ <HCaptcha theme={themeMode} sitekey={import.meta.env.VITE_HCAPTCHA_SITEKEY} onVerify={handleCaptcha} />
|
||||
</DialogContent>
|
||||
</Dialog>
|
||||
<Portal>
|
||||
Reference in New Issue
Block a user