Customize third party signup form fields
[astakos] / snf-astakos-app / conf / 20-snf-astakos-app-settings.conf
index 52a4462..b26cd58 100644 (file)
@@ -19,6 +19,7 @@
 # Address to use for outgoing emails
 #ASTAKOS_DEFAULT_FROM_EMAIL = 'GRNET Cloud <no-reply@grnet.gr>'
 #ASTAKOS_DEFAULT_CONTACT_EMAIL = 'support@cloud.grnet.gr'
+#ASTAKOS_DEFAULT_ADMIN_EMAIL = 'admin@cloud.grnet.gr'
 
 # Identity Management enabled modules
 #ASTAKOS_IM_MODULES = ['local', 'twitter', 'shibboleth']
@@ -31,8 +32,9 @@
 
 #ASTAKOS_COOKIE_NAME = '_pithos2_a'
 #ASTAKOS_COOKIE_DOMAIN = None
+#ASTAKOS_COOKIE_SECURE = True
 
-#ASTAKOS_IM_STATIC_URL = '/im/static/im/'
+#ASTAKOS_IM_STATIC_URL = '/static/im/'
 
 # If set to False and invitations not enabled newly created user will be 
 # automatically accepted
 
 # Set service name
 #ASTAKOS_SITENAME = 'GRNET Cloud'
+
+# Set recaptcha keys
+# http://www.google.com/recaptcha/whyrecaptcha 
+#ASTAKOS_RECAPTCHA_PUBLIC_KEY = ''
+#ASTAKOS_RECAPTCHA_PRIVATE_KEY = ''
+#ASTAKOS_RECAPTCHA_OPTIONS = {'theme':'white'}
+#ASTAKOS_RECAPTCHA_USE_SSL = True
+#ASTAKOS_RECAPTCHA_ENABLED = True
+
+# set AstakosUser fields to propagate in the billing system
+#ASTAKOS_BILLING_FIELDS = ['is_active']
+
+# Queue for billing.
+#'rabbitmq://guest:guest@localhost:5672/astakos'
+#QUEUE_CONNECTION = None 
+
+# Set where the user should be redirected after logout
+#ASTAKOS_LOGOUT_NEXT = ''
+
+# Set user email patterns that are automatically activated
+#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 = []
+
+# 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 = []
+
+# 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)
+
+# Permit local account migration
+# ENABLE_LOCAL_ACCOUNT_MIGRATION = getattr(settings, 'ASTAKOS_ENABLE_LOCAL_ACCOUNT_MIGRATION', True)
+
+# A dictionary describing the additional user fields appearing during the second step of third party account creation
+# THIRDPARTY_ACC_ADDITIONAL_FIELDS = getattr(settings, 'ASTAKOS_THIRDPARTY_ACC_ADDITIONAL_FIELDS', {
+#     'first_name':None,
+#     'last_name':None,
+# })
\ No newline at end of file