[feature/backend] registration control
This commit is contained in:
parent
86ab334bc9
commit
a853374009
5 changed files with 142 additions and 49 deletions
|
@ -15,6 +15,11 @@ jwt:
|
|||
secret: your-jwt-secret-here # 在生产环境中应该使用环境变量
|
||||
expiration: 24h
|
||||
|
||||
auth:
|
||||
registration:
|
||||
enabled: false # 是否允许注册
|
||||
message: "Registration is currently disabled. Please contact administrator." # 禁用时的提示信息
|
||||
|
||||
storage:
|
||||
driver: local
|
||||
local:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue