I tried to follow this tutoriel
Specifying Allowed Registration Email Patterns
<http://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/configuration/config_allowed_regis_emails.html>however
it didn't seem to work, I am a noob in most of what I am doing so sorry in
advance....
Some information:
- I have installed opendedx on my own server (ubuntu 12.04.5) at home
(native edx)
- I install export OPENEDX_RELEASE=open-release/eucalyptus.2
I change cms.env.json and lms.env.json
"REGISTRATION_EXTRA_FIELDS": {
"city": "hidden",
"country": "hidden",
"gender": "optional",
"goals": "optional",
"honor_code": "required",
"level_of_education": "optional",
"mailing_address": "optional",
"year_of_birth": "optional"
},
"REGISTRATION_EMAIL_PATTERNS_ALLOWED" = [
"^.*@(.*\\.)?example\\.com$",
]
"SERVER_EMAIL": "[email protected]",
but also tried
"REGISTRATION_EMAIL_PATTERNS_ALLOWED":
{"REGISTRATION_EMAIL_PATTERNS_ALLOWED" = [
"^.*@(.*\\.)?example\\.com$",
]}
and
"REGISTRATION_EMAIL_PATTERNS_ALLOWED" = "^.*@(.*\\.)?example\\.com$",
then I update...
sudo -H -u edxapp bash << EOF
source /edx/app/edxapp/edxapp_env
cd /edx/app/edxapp/edx-platform
paver update_assets lms --settings=aws --debug
EOF
sudo /edx/bin/supervisorctl restart edxapp:lms
Again I think I am missing something basic but couldn't figure it
out...none of those three ways worked form me :(
--
You received this message because you are subscribed to the Google Groups
"General Open edX discussion" group.
To view this discussion on the web visit
https://groups.google.com/d/msgid/edx-code/92f24c9f-d5bb-4397-9ff7-dcd4ce2590ac%40googlegroups.com.