Closed samni728 closed 3 weeks ago
Bot detected the issue body's language is not English, translate it automatically.
Title: [Bug] API Key and BaseURL are preset to bypass login verification during Docker deployment
code只针对自带的gpt服务,不禁止使用自己的apikey和服务做转发,如果你不想别人用你的转发,设置hide_user_api_key环境变量,完全禁止输入
Bot detected the issue body's language is not English, translate it automatically.
The code is only for the built-in gpt service. It is not prohibited to use your own apikey and service for forwarding. If you don't want others to use your forwarding, set the hide_user_api_key environment variable to completely prohibit input.
Bug Description
在使用Docker部署ChatGPT-Next-Web项目时,我遇到了一个bug。当我配置了code时,用户在打开项目时会被提示要求输入登录密码,用户输入密码后才能导入相应的baseurl和apikey以实现WebChat的功能。
Steps to Reproduce
Expected Behavior
用户在任何情况下都需要先通过登录验证,然后才能使用apikey和baseurl进行对话。
Screenshots
No response
Deployment Method
Desktop OS
macOS Sonoma 14.3.1
Desktop Browser
chrome
Desktop Browser Version
Version 14.1
Smartphone Device
N/A
Smartphone OS
N/A
Smartphone Browser
N/A
Smartphone Browser Version
N/A
Additional Logs
N/A