update
This commit is contained in:
parent
36d738fdfd
commit
f148392bbe
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user