add token check to raw_open edit view

This commit is contained in:
Aurélien Delobelle 2017-06-22 15:48:45 +02:00
parent 98f5f0c391
commit 19847ac9d8
4 changed files with 16 additions and 3 deletions

View file

@ -24,7 +24,7 @@ except KeyError:
try:
from .secret import (
SECRET_KEY, RECAPTCHA_PUBLIC_KEY, RECAPTCHA_PRIVATE_KEY, ADMINS,
REDIS_PASSWD, REDIS_DB, REDIS_HOST, REDIS_PORT
REDIS_PASSWD, REDIS_DB, REDIS_HOST, REDIS_PORT, KFETOPEN_TOKEN,
)
except ImportError:
raise RuntimeError("Secrets missing")