[GeoNode-users] User Account Registration

Julierme Pinheiro juliermeopensourcedeveloper at gmail.com
Fri Jul 6 14:07:48 PDT 2018


Dear GeoNode users and developers,

I am trying to configure user registration for GeoNode at 2.8.0 according to
page 864 in [1].

Find bellow my settings.py:

# prevent signing up by default
ACCOUNT_OPEN_SIGNUP = True
ACCOUNT_EMAIL_REQUIRED = True
ACCOUNT_EMAIL_VERIFICATION = 'optional'
ACCOUNT_EMAIL_CONFIRMATION_EMAIL = True
ACCOUNT_EMAIL_CONFIRMATION_REQUIRED = True
ACCOUNT_CONFIRM_EMAIL_ON_GET = True
ACCOUNT_APPROVAL_REQUIRED = True

and local_settings.py

#Define email service on GeoNode
EMAIL_ENABLE = True

if EMAIL_ENABLE:
    EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
#    EMAIL_HOST = 'localhost'
#    EMAIL_PORT = 25
    EMAIL_HOST = 'smtp.gmail.com'
    EMAIL_PORT = 587
    EMAIL_HOST_USER = 'foo at gmail.com'
    EMAIL_HOST_PASSWORD = 'bar'
    EMAIL_USE_TLS = True
    DEFAULT_FROM_EMAIL = 'my_geonode <no-reply at geonode.org>'

When the user get registered the message bellow is displayed:

Account Pending Approval

We have sent the administrators a notice to approve your account associated
with *somebody at gmail.com <somebody at gmail.com>*. If the account is approved,
you will receive a confirmation notice.

After setting the configuration above, the new user still unable to receive
a confirmation e-mail from GeoNode admin and *foo at gmail.com <foo at gmail.com>*
does not receive any notification e-mail about new registered users.

Also, before entering to this topic, I registered to GeoNode Demo
<http://master.demo.geonode.org/>, but I did not receive any confirmation
e-mail.

I wonder if I am missing any configuration.

Any help on that will very appreciated.

Thank you for your time in advance

Kind regards

Julierme

[1] http://media.readthedocs.org/pdf/geonode/master/geonode.pdf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20180706/0fd31a1b/attachment.html>


More information about the geonode-users mailing list