Skip to content

fix(auth): restore demo login prefill - #16

Merged
souravC01 merged 1 commit into
mainfrom
fix/demo-login-prefill
Sep 17, 2026
Merged

souravC01 merged 1 commit into
mainfrom
fix/demo-login-prefill

Conversation

@souravC01

Copy link
Copy Markdown
Owner

Summary

  • make the demo-login JavaScript publicly accessible on the unauthenticated login page
  • update the demo prompt to describe a read-only guest view
  • remove the visible demo email address from the login card
  • add regression coverage for the public script and login-page copy

Root cause

The login page referenced /js/demo-login.js, but the security configuration did not permit anonymous access to /js/**. Requests for the script were redirected back to the login page, so the button handler never loaded.

Validation

  • ./mvnw -Dtest=SecurityWorkflowTests test — 29 tests passed
  • ./mvnw test — 50 tests passed
  • git diff --check — passed

Risk and rollout

Low risk. The security change exposes only packaged static JavaScript assets. No database migration or configuration change is required. The fix takes effect after merge and deployment.

@vercel

vercel Bot commented Sep 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
yu-bazaar Ready Ready Preview Sep 17, 2026 2:54am UTC

@souravC01
souravC01 merged commit 9d0a1f5 into main Sep 17, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — 4ca07f3c Deployed Sep 17, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant