mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-03-09 15:40:09 +00:00
only retrieve vms for user if active
This commit is contained in:
parent
8487d86044
commit
0df186f5c3
1 changed files with 0 additions and 1 deletions
|
@ -68,7 +68,6 @@ def list_vms(user=None):
|
||||||
rtp_view = True
|
rtp_view = True
|
||||||
else:
|
else:
|
||||||
user = session['userinfo']['preferred_username']
|
user = session['userinfo']['preferred_username']
|
||||||
vms = get_vms_for_user(proxmox, user)
|
|
||||||
if active:
|
if active:
|
||||||
vms = get_vms_for_user(proxmox, user)
|
vms = get_vms_for_user(proxmox, user)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue