<filename>rw-um/src/user_management/configs.py<gh_stars>0
# --------------------------------------
# MongoDB Config
# --------------------------------------
MONGODB_DB = 'test1'
MONGODB_HOST = 'localhost'
MONGODB_PORT = 27017

# --------------------------------------
# Flask-Security Configurations (https://pythonhosted.org/Flask-Security/configuration.html)
# --------------------------------------
# Core
SECURITY_PASSWORD_HASH = '<PASSWORD>'
SECURITY_PASSWORD_SALT = "This <PASSWORD>'t common."

# Feature Flags
SECURITY_CONFIRMABLE = True
SECURITY_REGISTERABLE = True
SECURITY_RECOVERABLE = False
SECURITY_TRACKABLE = True
SECURITY_PASSWORDLESS = False
SECURITY_CHANGEABLE = True

# --------------------------------------
# Flask-Mail Configurations
# --------------------------------------
MAIL_SERVER = 'smtp.gmail.com'
MAIL_PORT = 465
MAIL_USE_TLS = False
MAIL_USE_SSL = True
MAIL_USERNAME = '<EMAIL>'
MAIL_PASSWORD = '<PASSWORD>'  # Application password (https://support.google.com/accounts/answer/185833)

# --------------------------------------
# Miscellaneous Configurations
# --------------------------------------
DEBUG = True
SECRET_KEY = b'\<KEY>'  # for session encryption

<filename>rw-um/src/user_management/configs.py<gh_stars>0
# --------------------------------------
# MongoDB Config
# --------------------------------------
MONGODB_DB = 'test1'
MONGODB_HOST = 'localhost'
MONGODB_PORT = 27017

# --------------------------------------
# Flask-Security Configurations (https://pythonhosted.org/Flask-Security/configuration.html)
# --------------------------------------
# Core
SECURITY_PASSWORD_HASH = '<PASSWORD>'
SECURITY_PASSWORD_SALT = "This <PASSWORD>'t common."

# Feature Flags
SECURITY_CONFIRMABLE = True
SECURITY_REGISTERABLE = True
SECURITY_RECOVERABLE = False
SECURITY_TRACKABLE = True
SECURITY_PASSWORDLESS = False
SECURITY_CHANGEABLE = True

# --------------------------------------
# Flask-Mail Configurations
# --------------------------------------
MAIL_SERVER = 'smtp.gmail.com'
MAIL_PORT = 465
MAIL_USE_TLS = False
MAIL_USE_SSL = True
MAIL_USERNAME = '<EMAIL>'
MAIL_PASSWORD = '<PASSWORD>'  # Application password (https://support.google.com/accounts/answer/185833)

# --------------------------------------
# Miscellaneous Configurations
# --------------------------------------
DEBUG = True
SECRET_KEY = b'\<KEY>'  # for session encryption

# -------------------------------------- # MongoDB Config # -------------------------------------- # -------------------------------------- # Flask-Security Configurations (https://pythonhosted.org/Flask-Security/configuration.html) # -------------------------------------- # Core # Feature Flags # -------------------------------------- # Flask-Mail Configurations # -------------------------------------- # Application password (https://support.google.com/accounts/answer/185833) # -------------------------------------- # Miscellaneous Configurations # -------------------------------------- # for session encryption