Browse Source

removed debug print

master
Youen 2 years ago
parent
commit
3f723235ec
  1. 4
      src/web/admin/admin.py

4
src/web/admin/admin.py

@ -9,7 +9,7 @@ bp = Blueprint('admin', __name__, url_prefix='/admin')
@bp.before_app_request
def authenticate():
print(request.path)
# Some views don't need authentication
if request.path == '/admin/login' or request.path.startswith('/doc/') or request.path == '/api/doc/build':
return
@ -33,4 +33,4 @@ def login():
else:
raise Exception("Incorrect password")
else:
return render_template("admin/login.html")
return render_template("admin/login.html")

Loading…
Cancel
Save