mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-03-09 15:40:09 +00:00
pass proper user for create usage, redirect properly after delete
This commit is contained in:
parent
539cd6f0f4
commit
3319fa6362
2 changed files with 2 additions and 2 deletions
2
app.py
2
app.py
|
@ -261,7 +261,7 @@ def create():
|
|||
app.config['STARRS_DB_NAME'], app.config['STARRS_DB_USER'],
|
||||
app.config['STARRS_DB_HOST'], app.config['STARRS_DB_PASS'])
|
||||
if request.method == 'GET':
|
||||
usage = get_user_usage(proxmox, 'proxstar')
|
||||
usage = get_user_usage(proxmox, user)
|
||||
limits = get_user_usage_limits(user)
|
||||
percents = get_user_usage_percent(proxmox, usage, limits)
|
||||
isos = get_isos(proxmox, app.config['PROXMOX_ISO_STORAGE'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue