Replace hardcoded boolean
Forgot it while testing :D
This commit is contained in:
parent
90b8018228
commit
4d44cd267f
@ -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):
|
||||
|
Reference in New Issue
Block a user