From 6b08a63eb8bd94c006eead5f7b284390a61693b5 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 23 Jul 2025 16:45:12 +0800 Subject: [PATCH] bugfix --- rbac/check_perm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rbac/check_perm.py b/rbac/check_perm.py index c0d9ab0..90b5a2e 100644 --- a/rbac/check_perm.py +++ b/rbac/check_perm.py @@ -110,6 +110,7 @@ async def basic_auth(sor, auth): recs = await sor.sqlExe(sql, {'username':username,'password':password}) if len(recs) < 1: return None + await user_login(request, recs[0].id, return recs[0].id async def bearer_auth(sor, auth):