Fix conf
[astakos] / snf-astakos-app / conf / 20-snf-astakos-app-settings.conf
index 5304184..4e808bb 100644 (file)
 #ASTAKOS_RE_USER_EMAIL_PATTERNS = []
 
 # Messages to display on login page header
-# e.g. {'warning': 'This warning message will be displayed on the top of login page'}
-#ASTAKOS_LOGIN_MESSAGES = {}
+# e.g. [('warning', 'This warning message will be displayed on the top of login page')]
+#ASTAKOS_LOGIN_MESSAGES = []
+
+# Messages to display on signup page header
+# e.g. [('warning', 'This warning message will be displayed on the top of signup page')]
+#ASTAKOS_SIGNUP_MESSAGES = []
+
+# Messages to display on profile page header
+# e.g. [('warning', 'This warning message will be displayed on the top of profile pages')]
+#ASTAKOS_PROFILE_MESSAGES = []
+
+# Messages to display on global page header
+# e.g. [('warning', 'This warning message will be displayed on the top of all pages')]
+#ASTAKOS_GLOBAL_MESSAGES = []
 
 # messages to display as extra actions in account forms
 # e.g. {'https://cms.okeanos.grnet.gr/': 'Back to ~okeanos'}
-#ASTAKOS_PROFILE_EXTRA_LINKS = {}
+#ASTAKOS_PROFILE_EXTRA_LINKS = []
 
 # The number of unsuccessful login requests per minute allowed for a specific email
 #ASTAKOS_RATELIMIT_RETRIES_ALLOWED = 3
 
+# If False the email change mechanism is disabled
+#ASTAKOS_EMAILCHANGE_ENABLED = False
+
+# Set the expiration time (in days) of email change requests
+#ASTAKOS_EMAILCHANGE_ACTIVATION_DAYS = 10
+
+# Set the astakos main functions logging severity (None to disable)
+#from logging import INFO
+#ASTAKOS_LOGGING_LEVEL = INFO
+
+# Email subjects configuration. For admin/helper notification emails %(user)s 
+# maps to registered/activated user email.
+#ASTAKOS_INVITATION_EMAIL_SUBJECT = 'Invitation to %s alpha2 testing' % SITENAME
+#ASTAKOS_GREETING_EMAIL_SUBJECT = 'Welcome to %s alpha2 testing' % SITENAME
+#ASTAKOS_FEEDBACK_EMAIL_SUBJECT = 'Feedback from %s alpha2 testing' % SITENAME
+#ASTAKOS_VERIFICATION_EMAIL_SUBJECT = '%s alpha2 testing account activation is needed' % SITENAME
+#ASTAKOS_ADMIN_NOTIFICATION_EMAIL_SUBJECT = '%s alpha2 testing account created (%%(user)s)' % SITENAME
+#ASTAKOS_HELPDESK_NOTIFICATION_EMAIL_SUBJECT = '%s alpha2 testing account activated (%%(user)s)' % SITENAME
+#ASTAKOS_EMAIL_CHANGE_EMAIL_SUBJECT = 'Email change on %s alpha2 testing' % SITENAME
+#ASTAKOS_PASSWORD_RESET_EMAIL_SUBJECT = 'Password reset on %s alpha2 testing' % SITENAME
+
+# Enforce token renewal on password change/reset
+#NEWPASSWD_INVALIDATE_TOKEN = getattr(settings, 'ASTAKOS_NEWPASSWD_INVALIDATE_TOKEN', True)