diff --git a/CTFd/admin/keys.py b/CTFd/admin/keys.py index f93aebb..e6901a7 100644 --- a/CTFd/admin/keys.py +++ b/CTFd/admin/keys.py @@ -45,7 +45,6 @@ def admin_keys_view(keyid): db.session.add(k) else: k = Keys.query.filter_by(id=keyid).first() - k.chal = chal k.flag = flag k.data = data k.key_type = key_type diff --git a/CTFd/static/admin/js/templates/challenges/standard/standard-challenge-update.hbs b/CTFd/static/admin/js/templates/challenges/standard/standard-challenge-update.hbs index 758f0b9..d4c8750 100644 --- a/CTFd/static/admin/js/templates/challenges/standard/standard-challenge-update.hbs +++ b/CTFd/static/admin/js/templates/challenges/standard/standard-challenge-update.hbs @@ -174,10 +174,6 @@
-