Skip to content

Commit

Permalink
feat: 商业版
Browse files Browse the repository at this point in the history
  • Loading branch information
dolphin0618 committed Jul 16, 2024
1 parent 25f0cd2 commit 24ec55f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bisheng",
"version": "0.3.3",
"version": "0.1",
"private": true,
"dependencies": {
"@emotion/react": "^11.11.1",
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/src/pages/LoginPage/login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export const LoginPage = () => {
disabled={isLoading} onClick={handleRegister} >{t('login.registerButton')}</Button>
</>
}
{appConfig.isPro && <LoginBridge onHasLdap={(bool) => ldapRef.current = bool} />}
{appConfig.isPro && <LoginBridge onHasLdap={(bool) => { ldapRef.current = bool; setCaptchaData((state) => ({ ...state, user_capthca: !bool })) }} />}
</div>
<div className=" absolute right-[16px] bottom-[16px] flex">
<span className="mr-4 text-sm text-gray-400 relative top-2">v{json.version}</span>
Expand Down

0 comments on commit 24ec55f

Please sign in to comment.