Skip to content

Commit

Permalink
增加严格角色模式
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelmaxQm committed Sep 2, 2024
1 parent 34a3acb commit 72eb9f4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,10 @@ export default defineConfig({
text: '多数据库支持',
link: '/guide/server/multiple-databases'
},
{
text: '严格角色模式',
link: '/guide/server/strict-auth'
},
{
text: 'viper',
link: '/guide/server/core/viper'
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/server/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ type System struct {
| iplimit-count | int | time时间段内同IP最多访问次数,默认为15000 |
| iplimit-time | int | 限制时间区间,默认为3600 |
| use-mongo | bool | 是否使用mongodb |
| use-strict-auth | bool | 是否开启[严格角色模式](strictAuth) |
| use-strict-auth | bool | 是否开启[严格角色模式](strict-auth) |

## captcha

Expand Down
File renamed without changes.

0 comments on commit 72eb9f4

Please sign in to comment.