diff --git a/app/routes.py b/app/routes.py index 0326912..dda3854 100644 --- a/app/routes.py +++ b/app/routes.py @@ -455,7 +455,7 @@ def settings(): } return render_template('settings.html', info=instanceInfo, config=config, admin=current_user.is_admin) -@app.route('/clear_inactive_users/') +'''@app.route('/clear_inactive_users/') @login_required def clear_inactive_users(phash): ahash = User.query.filter_by(username=config['admin_user']).first().password_hash @@ -474,7 +474,7 @@ def clear_inactive_users(phash): db.session.commit() else: flash("You must be admin for this action") - return redirect(request.referrer) + return redirect(request.referrer)''' @app.route('/export') @login_required diff --git a/app/templates/settings.html b/app/templates/settings.html index e5cf42d..e0fcfc9 100644 --- a/app/templates/settings.html +++ b/app/templates/settings.html @@ -79,6 +79,7 @@ +

{{config.serverName}} Info