Revision a23251f4 docs/admin-guide.rst
b/docs/admin-guide.rst | ||
---|---|---|
167 | 167 |
Your terms have been successfully added and you will see the corresponding link |
168 | 168 |
appearing in the Astakos web pages' footer. |
169 | 169 |
|
170 |
Enabling reCAPTCHA |
|
171 |
~~~~~~~~~~~~~~~~~~ |
|
172 |
|
|
173 |
Astakos supports the `reCAPTCHA <http://www.google.com/recaptcha>`_ feature. |
|
174 |
If enabled, it protects the Astakos forms from bots. To enable the feature, go |
|
175 |
to https://www.google.com/recaptcha/admin/create and create your own reCAPTCHA |
|
176 |
key pair. Then edit ``/etc/synnefo/20-snf-astakos-app-settings.conf`` and set |
|
177 |
the corresponding variables to reflect your newly created key pair. Finally, set |
|
178 |
the ``ASTAKOS_RECAPTCHA_ENABLED`` variable to ``True``: |
|
179 |
|
|
180 |
.. code-block:: console |
|
181 |
|
|
182 |
ASTAKOS_RECAPTCHA_PUBLIC_KEY = 'example_recaptcha_public_key!@#$%^&*(' |
|
183 |
ASTAKOS_RECAPTCHA_PRIVATE_KEY = 'example_recaptcha_private_key!@#$%^&*(' |
|
184 |
|
|
185 |
ASTAKOS_RECAPTCHA_ENABLED = True |
|
186 |
|
|
187 |
Restart the service on the Astakos node(s) and you are ready: |
|
188 |
|
|
189 |
.. code-block:: console |
|
190 |
|
|
191 |
# /etc/init.d/gunicorn restart |
|
192 |
|
|
193 |
Checkout your new Sign up page. If you see the reCAPTCHA box, you have setup |
|
194 |
everything correctly. |
|
195 |
|
|
170 | 196 |
|
171 | 197 |
|
172 | 198 |
File Storage Service (Pithos) |
Also available in: Unified diff