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 |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| .eslintignore | ||
| .eslintrc.cjs | ||
| .gitignore | ||
| .prettierignore | ||
| .prettierrc | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| pnpm-lock.yaml | ||
| postcss.config.js | ||
| tailwind.config.js | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||