From 18c0afdd05b0916abc5bb29a1dd18b4a4ae444ac Mon Sep 17 00:00:00 2001 From: Kevin Chung Date: Thu, 1 Jan 2015 14:26:54 -0500 Subject: [PATCH] Closes #1 Missing bcrypt_sha256 import --- CTFd/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CTFd/views.py b/CTFd/views.py index c4693eb..15d41ee 100644 --- a/CTFd/views.py +++ b/CTFd/views.py @@ -4,8 +4,9 @@ from CTFd.utils import authed, ip2long, long2ip, is_setup from CTFd.models import db, Teams, Solves, Challenges, WrongKeys, Keys, Tags, Files, Tracking, Pages, Config from jinja2.exceptions import TemplateNotFound - +from passlib.hash import bcrypt_sha256 from collections import OrderedDict + import logging import os import re