Skip to content

Commit

Permalink
屏蔽/admin/login登录入口
Browse files Browse the repository at this point in the history
  • Loading branch information
nick2wang committed May 25, 2022
1 parent 4d96ac6 commit 97e6af4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/middleware/check_login_middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
'/api/info'
]

IGNORE_URL_RE = r'(/admin/\w*|/api/(v1|auth)/\w+)'
IGNORE_URL_RE = r'/api/(v1|auth)/\w+'


class CheckLoginMiddleware(MiddlewareMixin):
Expand Down

0 comments on commit 97e6af4

Please sign in to comment.