-
This commit is contained in:
parent
820b839af4
commit
9795f4295f
2
app.py
2
app.py
@ -24,7 +24,7 @@ def main():
|
|||||||
if db.get_user_bytoken(auth_token) is None:
|
if db.get_user_bytoken(auth_token) is None:
|
||||||
return redirect("/login")
|
return redirect("/login")
|
||||||
machines_all = db.get_machines()
|
machines_all = db.get_machines()
|
||||||
return render_template('index.html', ssh_port=config.webssh_port, machines=machines_all)
|
return render_template('index.html', ssh_port=config.webssh_port, machines=machines_all.machines)
|
||||||
|
|
||||||
|
|
||||||
@app.route('/login')
|
@app.route('/login')
|
||||||
|
Loading…
Reference in New Issue
Block a user