Skip to content

Commit 15a31cc

Browse files
authored
openai_api_key配置项前端加密 (#2943)
1 parent 75fb089 commit 15a31cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/templates/config.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@ <h6 style="color:red">注2:DEFAULT_CHAT_MODEL 默认配置为gpt-3.5-turbo,D
952952
<label for="openai_api_key"
953953
class="col-sm-4 control-label">OPENAI_API_KEY</label>
954954
<div class="col-sm-5">
955-
<input type="text" class="form-control" id="openai_api_key"
955+
<input type="password" class="form-control" id="openai_api_key"
956956
key="openai_api_key"
957957
value="{{ config.openai_api_key }}"
958958
placeholder="openai api key" />

0 commit comments

Comments
 (0)