main #99

Merged
charles merged 2 commits from main into prod 2026-04-28 01:40:55 +08:00
Showing only changes of commit f148392bbe - Show all commits

View File

@ -45,7 +45,7 @@ async def logintype(ns):
async with db.sqlorContext('kboss') as sor:
domain_name = ns.get('domain_name')
if domain_name in ['www.opencomputing.cn', 'dev.opencomputing.cn', 'localhost:9527'] and ns.get('username') != '开元云(北京)科技有限公司':
if domain_name in ['www.opencomputing.cn', 'dev.opencomputing.cn', 'localhost:9527'] and ns.get('username') not in ['开元云(北京)科技有限公司', 'admin', 'kyy_root']:
if not ns.get('mobile'):
return {
'status': False,