Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

chore: Make dev password more escure! (#4425)

Oleg Isonenc84374708afa
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
index 9d4bc973f3..8470b6611e 100644
--- a/.github/pull_request_template.md
+++ b/.github/pull_request_template.md
@@ -21,7 +21,7 @@
## Before merging
-- [ ] tested locally and on preview environment (preview dev login: 5de6)
+- [ ] tested locally and on preview environment (preview dev login: 0000)
- [ ] updated [test cases](https://github.com/webstudio-is/webstudio/blob/main/apps/builder/docs/test-cases.md) document
- [ ] added tests
- [ ] if any new env variables are added, added them to `.env` file
diff --git a/apps/builder/app/services/auth.server.ts b/apps/builder/app/services/auth.server.ts
index 93fe6cbea7..f24f0db519 100644
--- a/apps/builder/app/services/auth.server.ts
+++ b/apps/builder/app/services/auth.server.ts
@@ -99,7 +99,7 @@ if (env.DEV_LOGIN === "true") {
.toString()
.split(":");
- if (secret === env.AUTH_SECRET?.slice(0, 4)) {
+ if (secret === env.AUTH_SECRET) {
try {
const context = await createContext(request);