forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on dcf123a8823bd55f0a656ce94de6b865f41dc08aFiltered to src/lib/demo-login.tsClear filter

2026-09-19

feat: 🎟️ demo sign-in on the login page - with VITE_DEMO_LOGIN_USERNAME / _PASSWORD set at build time the login form opens filled with them and offers a one-click demo button that signs in even if the fields were edited - meant for a demo school: unlike the dev auto sign-in the values are bundled; without them the form starts empty and shows no button - tests for both cases (env stubbed, since vitest reads .env.local) - README notes the build-time settingBurak Boduroğlu · 14fb9ac
feat: 🎟️ demo sign-in on the login page
- with VITE_DEMO_LOGIN_USERNAME / _PASSWORD set at build time the login
  form opens filled with them and offers a one-click demo button that
  signs in even if the fields were edited
- meant for a demo school: unlike the dev auto sign-in the values are
  bundled; without them the form starts empty and shows no button
- tests for both cases (env stubbed, since vitest reads .env.local)
- README notes the build-time setting