Skip to content

Commit c843747

Browse files
authored
chore: Make dev password more escure! (#4425)
## Description 1. What is this PR about (link the issue and add a short description) ## Steps for reproduction 1. click button 2. expect xyz ## Code Review - [ ] hi @kof, I need you to do - conceptual review (architecture, feature-correctness) - detailed review (read every line) - test it on preview ## Before requesting a review - [ ] made a self-review - [ ] added inline comments where things may be not obvious (the "why", not "what") ## Before merging - [ ] tested locally and on preview environment (preview dev login: 5de6) - [ ] 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
1 parent d1a8fdd commit c843747

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
## Before merging
2323

24-
- [ ] tested locally and on preview environment (preview dev login: 5de6)
24+
- [ ] tested locally and on preview environment (preview dev login: 0000)
2525
- [ ] updated [test cases](https://github.com/webstudio-is/webstudio/blob/main/apps/builder/docs/test-cases.md) document
2626
- [ ] added tests
2727
- [ ] if any new env variables are added, added them to `.env` file

apps/builder/app/services/auth.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ if (env.DEV_LOGIN === "true") {
9999
.toString()
100100
.split(":");
101101

102-
if (secret === env.AUTH_SECRET?.slice(0, 4)) {
102+
if (secret === env.AUTH_SECRET) {
103103
try {
104104
const context = await createContext(request);
105105

0 commit comments

Comments
 (0)