mirror of
https://github.com/fastapi-admin/fastapi-admin.git
synced 2025-08-14 18:58:13 +08:00
new project
This commit is contained in:
6
examples/providers.py
Normal file
6
examples/providers.py
Normal file
@ -0,0 +1,6 @@
|
||||
from examples.models import User
|
||||
from fastapi_admin.providers.login import UsernamePasswordProvider
|
||||
|
||||
|
||||
class Login(UsernamePasswordProvider):
|
||||
model = User
|
Reference in New Issue
Block a user