mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-03-09 15:40:09 +00:00
add oidc auth to all routes and yapf everything
This commit is contained in:
parent
b656df33ba
commit
539cd6f0f4
4 changed files with 97 additions and 38 deletions
1
db.py
1
db.py
|
@ -55,6 +55,7 @@ def get_expired_vms():
|
|||
expired.append(vm.id)
|
||||
return expired
|
||||
|
||||
|
||||
def get_user_usage_limits(user):
|
||||
limits = dict()
|
||||
if session.query(exists().where(Usage_Limit.id == user)).scalar():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue