efegokdemir opened a new pull request, #670: URL: https://github.com/apache/shenyu-dashboard/pull/670
## Summary - wait for login encryption secret initialization and retry once when the first request is unavailable - avoid dispatching a login with an uninitialized secret - handle absent and rejected login responses without dereferencing undefined Fixes #643 ## Tests - `npm run test:unit -- --runInBand` — passed (17 suites, 146 tests) - `npx eslint src/routes/User/Login.js src/routes/User/loginSecret.js src/routes/User/loginSecret.test.js src/models/login.js src/models/login.test.js` — passed - `npm run lint` — passed with existing style warnings - `npx prettier --check src/models/login.js src/models/login.test.js src/routes/User/Login.js src/routes/User/loginSecret.js src/routes/User/loginSecret.test.js` — passed - `npm run build` — passed - `git diff --check` — passed The implementation is limited to the login secret initialization and error handling described in #643. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
