用户登录功能
This commit is contained in:
13
.env.example
Normal file
13
.env.example
Normal file
@@ -0,0 +1,13 @@
|
||||
# Flask配置
|
||||
SECRET_KEY=your-secret-key-here-please-change-this
|
||||
FLASK_ENV=production
|
||||
|
||||
# OpenAI API配置(可选,用于AI润色功能)
|
||||
OPENAI_API_KEY=
|
||||
|
||||
# 默认用户配置
|
||||
# Docker首次启动时会自动创建此用户
|
||||
DEFAULT_USERNAME=admin
|
||||
DEFAULT_PASSWORD=admin123
|
||||
|
||||
# 注意: 生产环境请务必修改默认密码!
|
||||
Reference in New Issue
Block a user