models import Admin from fastapi_admin.app import app as admin_app from fastapi_admin.providers.login import UsernamePasswordProvider login_provider = UsernamePasswordProvider(user_model=User) login_provider = UsernamePasswordProvider(admin_model=Admin) def create_app(): Expand Down 17 changes: 3 ...