forked from open-webui/open-webui
feat(auth): add auth middleware
- refactored chat routes to use request.user instead of doing authentication in every route
This commit is contained in:
parent
8370465796
commit
a01b112f7f
5 changed files with 63 additions and 89 deletions
3
backend/.gitignore
vendored
3
backend/.gitignore
vendored
|
@ -4,4 +4,5 @@ _old
|
|||
uploads
|
||||
.ipynb_checkpoints
|
||||
*.db
|
||||
_test
|
||||
_test
|
||||
Pipfile
|
Loading…
Add table
Add a link
Reference in a new issue