Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Fixed the bug with start keys

Vladyslav Matsiiako944cc5b32c0a
diff --git a/frontend/components/utilities/attemptLogin.js b/frontend/components/utilities/attemptLogin.js
index 767fcb400d..4c6852625c 100644
--- a/frontend/components/utilities/attemptLogin.js
+++ b/frontend/components/utilities/attemptLogin.js
@@ -134,8 +134,8 @@ const attemptLogin = async (
// If user is logging in for the first time, add the example keys
if (isSignUp) {
- await pushKeys(
- {
+ await pushKeys({
+ obj: {
DATABASE_URL: [
"mongodb+srv://${DB_USERNAME}:${DB_PASSWORD}@mongodb.net",
"personal",
@@ -155,9 +155,9 @@ const attemptLogin = async (
WEBSITE_URL: ["http://localhost:3000", "shared"],
STRIPE_SECRET_KEY: ["sk_test_7348oyho4hfq398HIUOH78", "shared"],
},
- projectToLogin,
- "Development"
- );
+ workspaceId: projectToLogin,
+ env: "Development"
+ });
}
try {
if (email) {