about summary refs log tree commit diff
path: root/gn_auth/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'gn_auth/settings.py')
-rw-r--r--gn_auth/settings.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/gn_auth/settings.py b/gn_auth/settings.py
index d561fa9..f903553 100644
--- a/gn_auth/settings.py
+++ b/gn_auth/settings.py
@@ -14,7 +14,7 @@ SESSION_EXPIRY_MINUTES = 10
 # Database settings
 SQL_URI = "mysql://webqtlout:webqtlout@localhost/db_webqtl"
 AUTH_DB = f"{os.environ.get('HOME')}/genenetwork/gn3_files/db/auth.db"
-AUTH_MIGRATIONS = "migrations/auth"
+AUTH_MIGRATIONS = "gn_auth/migrations/auth"
 
 # Redis settings
 REDIS_URI = "redis://localhost:6379/0"
@@ -45,3 +45,9 @@ SMTP_TIMEOUT = 200 # seconds
 SMTP_USER = "no-reply@genenetwork.org"
 SMTP_PASSWORD = "asecrettoken"
 EMAIL_ADDRESS = "no-reply@uthsc.edu"
+
+
+## Variable settings for various emails going out to users
+AUTH_EMAILS_EXPIRY_MINUTES = 15
+
+LOGGABLE_MODULES = ["gn_auth"]