fix: resolve CORS config and login form field mismatch#52
Conversation
|
Hi @abhigyan24-ops , |
|
Hi @rdodiya, resolved the merge conflicts, reverted defaultData.js, and kept the CORS fix. Branch is now up to date with gssoc_develop. |
|
Hi @abhigyan24-ops ,
I think only the below change is required Please remove extra changes done in Landing Page as this doesn't related to CORS issue
We will be using email but for now this changes is done in #50
|
|
Hi @rdodiya, I've addressed all the requested changes: Kept only the CORS security.cors.allowed-origins line in application-dev.properties Please review when you get a chance |




Fixes #31
What changed
1. CORS Configuration
Added localhost origins to
application-dev.properties:2. Login Form Fix
Fixed field mismatch in
Login.jsx:initialValueswas usingemailbut input field and validation schema usedusernameformik.touched.emailtoformik.touched.usernameResult
Login is now fully functional locally with test credentials:
admin/ Password:admin123restaurant_owner/ Password:owner123Testing
gradle bootRunnpm run dev/login