ragflow/web/src/hooks
liwenju0 1bb990719e
Feat: Add user registration toggle feature (#6327)
### What problem does this PR solve?

Feat: Add user registration toggle feature. Added a user registration
toggle REGISTER_ENABLED in the settings and .env config file. The user
creation interface now checks the state of this toggle to control the
enabling and disabling of the user registration feature.

the front-end implementation is done, the registration button does not
appear if registration is not allowed. I did the actual tests on my
local server and it worked smoothly.
### Type of change

- [x] New Feature (non-breaking change which adds functionality)

---------

Co-authored-by: wenju.li <wenju.li@deepctr.cn>
Co-authored-by: Kevin Hu <kevinhu.sh@gmail.com>
2025-03-21 09:38:15 +08:00
..
logic-hooks Feat: Render agent details #3221 (#5307) 2025-02-24 17:19:06 +08:00
auth-hooks.ts fix: Set the default value of Self RAG to false #1220 (#1702) 2024-07-25 14:38:17 +08:00
chat-hooks.ts Fix: After deleting all conversation lists, the chat input box can still be used for input. #4907 (#4909) 2025-02-12 16:54:14 +08:00
chunk-hooks.ts Feat: Display the knowledge graph on the knowledge base page #4543 (#4587) 2025-01-22 19:43:27 +08:00
common-hooks.tsx Feat: Display the knowledge graph on the knowledge base page #4543 (#4587) 2025-01-22 19:43:27 +08:00
document-hooks.ts Feat: Upload file UI/UX enhancements (#5359) 2025-03-05 15:20:32 +08:00
file-manager-hooks.ts Fix: Delete unused code #3651 (#3852) 2024-12-04 14:15:17 +08:00
flow-hooks.ts Feat: add agent share team viewer (#6222) 2025-03-19 19:04:13 +08:00
knowledge-hooks.ts Feat: Display the knowledge graph on the knowledge base page #4543 (#4587) 2025-01-22 19:43:27 +08:00
llm-hooks.tsx Fix: LLM with ___ return cannot be deleted #5585 (#5587) 2025-03-04 11:35:12 +08:00
logic-hooks.ts Fix: type-script new change (#5159) 2025-02-25 11:42:31 +08:00
login-hooks.ts Feat: Add user registration toggle feature (#6327) 2025-03-21 09:38:15 +08:00
route-hook.ts fix: remove unused libraries #1306 (#1649) 2024-07-23 15:03:58 +08:00
system-hooks.ts Feat: Add user registration toggle feature (#6327) 2025-03-21 09:38:15 +08:00
use-callback-ref.ts Feat: Add FileUploadDialog #3221 (#4327) 2025-01-02 16:10:41 +08:00
use-controllable-state.ts Feat: Add FileUploadDialog #3221 (#4327) 2025-01-02 16:10:41 +08:00
user-setting-hooks.tsx Fix: New user can't accept invite without configuring LLM API #4379 (#4736) 2025-02-06 11:41:02 +08:00