diff --git a/app/__init__.py b/app/__init__.py index e590f7e..4fa2949 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -82,7 +82,6 @@ def create_app(): if cdclient is not None: cdclient.close() - # add the commands to flask cli app.cli.add_command(init_db) app.cli.add_command(init_accounts) diff --git a/app/bug_reports.py b/app/bug_reports.py index c378f0a..29eda20 100644 --- a/app/bug_reports.py +++ b/app/bug_reports.py @@ -55,7 +55,6 @@ def resolve(id): @bug_report_blueprint.route('/get/', methods=['GET']) @login_required -@gm_level(3) def get(status): columns = [ ColumnDT(BugReport.id), # 0 diff --git a/app/templates/header.html.j2 b/app/templates/header.html.j2 index 56622d5..475eaf0 100644 --- a/app/templates/header.html.j2 +++ b/app/templates/header.html.j2 @@ -73,7 +73,7 @@ {% endif %} - {% else %} + {% elif current_user.is_authenticated %}