Fix problems hashing password
@@ -35,8 +35,10 @@ app = Flask(__name__)
app.config['DEBUG'] = True
b = Borg()
app.config['SECRET_KEY'] = b.secretKey
+app.config['SECURITY_PASSWORD_SALT'] = 'None'
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
app.config['SQLALCHEMY_DATABASE_URI'] = 'mysql://root:' + b.rPasswd + '@' + b.dbHost + '/cairis_user'
+app.app_context().push()
db = SQLAlchemy(app)
cors = CORS(app)
