mirror of
https://github.com/Xevion/v1.xevion.dev.git
synced 2025-12-08 06:08:53 -06:00
Updated roles, db migrate, @require_role v1
This commit is contained in:
@@ -13,4 +13,9 @@ class Config(object):
|
||||
TEMPLATES_AUTO_RELOAD=True
|
||||
SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL') or \
|
||||
'sqlite:///' + os.path.join(basedir, 'app.db')
|
||||
SQLALCHEMY_TRACK_MODIFICATIONS = False
|
||||
SQLALCHEMY_TRACK_MODIFICATIONS = False
|
||||
# Flask-User settings
|
||||
USER_APP_NAME = "Flask-User QuickStart App" # Shown in and email templates and page footers
|
||||
USER_ENABLE_EMAIL = False # Disable email authentication
|
||||
USER_ENABLE_USERNAME = True # Enable username authentication
|
||||
USER_REQUIRE_RETYPE_PASSWORD = True
|
||||
Reference in New Issue
Block a user