Replace hardcoded boolean

Forgot it while testing :D
This commit is contained in:
pluja 2020-10-10 22:34:56 +02:00
parent 90b8018228
commit 4d44cd267f

View File

@ -754,7 +754,7 @@ def status():
filen = url_for('static', filename='img/open.png')
caniregister = True
return render_template('status.html', title='STATUS', count=count, max=config['maxInstanceUsers'], file=filen, cani=False)
return render_template('status.html', title='STATUS', count=count, max=config['maxInstanceUsers'], file=filen, cani=caniregister)
@app.route('/error/<errno>')
def error(errno):