From e8cd4ed04ef9a00b84a7e86d98b59724d741c7f5 Mon Sep 17 00:00:00 2001 From: Firehawk Date: Sat, 11 Jul 2026 20:37:33 +0930 Subject: [PATCH] Fix LDAP login auth source tabs rendering --- ui/src/layout/Login.jsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ui/src/layout/Login.jsx b/ui/src/layout/Login.jsx index 938531f14..e8be65f1e 100644 --- a/ui/src/layout/Login.jsx +++ b/ui/src/layout/Login.jsx @@ -117,9 +117,9 @@ const FormLogin = ({ loading, handleSubmit, validate, - authSources, - authSource, - setAuthSource, + authSources = [], + authSource = 'internal', + setAuthSource = () => {}, }) => { const translate = useTranslate() const classes = useStyles() @@ -435,6 +435,9 @@ const Login = ({ location }) => { handleSubmit={handleSubmit} validate={validateLogin} loading={loading} + authSources={authSources} + authSource={authSource} + setAuthSource={setAuthSource} /> ) }