Make hCaptcha site key configurable
This commit is contained in:
1 parent
0f4a56ada7
commit
151cb7bf2e
5 files changed
+41
-2
No files matched your search
@@ -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