Fixed bandit memes

This commit is contained in:
2020-11-29 04:44:30 +01:00
parent 42fe293a17
commit 1e491ba8d3
5 changed files with 11 additions and 4 deletions

View File

@@ -15,4 +15,6 @@ def test_login_required(client):
r = client.get('/content/caff/1')
assert r.status_code == 302
assert r.status_code == 302
# TODO Test eache endpoint with an anonymus, registered and admin user

View File

@@ -46,6 +46,6 @@ class Config:
# Some constant configured stuff configs
SQLALCHEMY_TRACK_MODIFICATIONS = False
SECURITY_REGISTERABLE = True
SECURITY_PASSWORD_HASH = "bcrypt"
SECURITY_PASSWORD_HASH = "bcrypt" # nosec - THIS IS NOT A PASSWORD YOU STUPID
MINIO_PREVIEW_BUCKET_NAME = "previews"
MINIO_CAFF_BUCKET_NAME = "caff"