When 'Hide local login form' was enabled in Settings -> Authentication, the local login form was still displayed instead of showing only the SSO login. This regression occurred in Pulse 5.x. Root cause: When App.tsx passed hasAuth to Login.tsx, the Login component created a minimal SecurityStatus object with only hasAuthentication set, missing the hideLocalLogin and other OIDC settings. Changes: - App.tsx: Store and pass full securityStatus to Login component - Login.tsx: Accept securityStatus prop and initialize state from it - Login.tsx: Initialize authStatus directly from props to respect hideLocalLogin on first render - Added tests for hideLocalLogin behavior Fixes #857 |
||
|---|---|---|
| .. | ||
| api | ||
| components | ||
| constants | ||
| hooks | ||
| pages | ||
| stores | ||
| styles | ||
| test | ||
| types | ||
| utils | ||
| App.tsx | ||
| constants.ts | ||
| index.css | ||
| index.tsx | ||
| vite-env.d.ts | ||