Commits

Sam Hart committed 847b4b5

secret key for sessions

Comments (0)

Files changed (2)

src/noink/__init__.py

 except:
     pass
 
+mainApp.secret_key = mainApp.config['SECRET_KEY']
 mainDB = SQLAlchemy(mainApp)
 

src/noink/defaultConfig.py

 # group in the database!
 ADMIN_GROUP = "admin"
 
+# The path to the HTML templates. Can be a relative path, or absolute.
+HTML_TEMPLATES = "../default_templates"
+
+# The secret key is used by flask for session signing
+SECRET_KEY = 'Klaus Karl Kassbaum is Nick St. Nicholas'
+