mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-18 09:24:03 +00:00
Refactor login initialization logic to remove unused configuration check for bd_vid and simplify OAuth visibility condition. (#5283)
This commit is contained in:
@@ -116,7 +116,7 @@ const FormLayout = ({ children, setPageType, pageType }: Props) => {
|
||||
);
|
||||
|
||||
const show_oauth = useMemo(
|
||||
() => !getBdVId() && !!(feConfigs?.sso?.url || oAuthList.length > 0),
|
||||
() => !!(feConfigs?.sso?.url || oAuthList.length > 0),
|
||||
[feConfigs?.sso?.url, oAuthList.length]
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user