Skip to content

Commit 72eb9f4

Browse files
committed
增加严格角色模式
1 parent 34a3acb commit 72eb9f4

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

docs/.vitepress/config.ts

+4
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,10 @@ export default defineConfig({
230230
text: '多数据库支持',
231231
link: '/guide/server/multiple-databases'
232232
},
233+
{
234+
text: '严格角色模式',
235+
link: '/guide/server/strict-auth'
236+
},
233237
{
234238
text: 'viper',
235239
link: '/guide/server/core/viper'

docs/guide/server/config.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ type System struct {
237237
| iplimit-count | int | time时间段内同IP最多访问次数,默认为15000 |
238238
| iplimit-time | int | 限制时间区间,默认为3600 |
239239
| use-mongo | bool | 是否使用mongodb |
240-
| use-strict-auth | bool | 是否开启[严格角色模式](strictAuth) |
240+
| use-strict-auth | bool | 是否开启[严格角色模式](strict-auth) |
241241

242242
## captcha
243243

File renamed without changes.

0 commit comments

Comments
 (0)