Skip to content

Commit

Permalink
secret key no longer in code
Browse files Browse the repository at this point in the history
  • Loading branch information
sahands committed Feb 27, 2014
1 parent 82309a9 commit 88e4e24
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.py
@@ -1,6 +1,7 @@
import qrcode
import logging
import pyotp
import os
from StringIO import StringIO
from flask import Flask, render_template, redirect, request, flash, send_file

Expand All @@ -11,9 +12,8 @@


app = Flask(__name__)
app.config.update(SECRET_KEY='fB04LfYc0Nfjneu47wYwPGyWYcEVeWbaxdA')
app.config.update(DEBUG=True)
logging.basicConfig(level=logging.DEBUG)
app.config.update(SECRET_KEY=os.environ['FLASK_SESSION_SECRET_KEY'])
# app.config.update(DEBUG=True)


@app.route('/qr/<email>')
Expand Down

0 comments on commit 88e4e24

Please sign in to comment.