+
-
-
- {% block titleheader %}
- {% endblock %}
-
-
-
- {% block titleelements %}
- {% endblock %}
-
-
- {% block titleelements_right %}
- {% endblock %}
-
-
-
+ {% block titleheader %}
+ {% endblock %}
+
+
+
+ {% block titleelements %}
+ {% endblock %}
+
+
+ {% block titleelements_right %}
+ {% endblock %}
+
+
{% endblock %}
diff --git a/users/forms.py b/users/forms.py
index 06508ac9..c83b826b 100644
--- a/users/forms.py
+++ b/users/forms.py
@@ -1,4 +1,4 @@
-from captcha.fields import ReCaptchaField
+from hcaptcha.fields import hCaptchaField
from django import forms
from django.contrib.auth.forms import (AuthenticationForm, PasswordResetForm,
UserChangeForm, UserCreationForm)
@@ -9,7 +9,7 @@ from RIGS import models
# Registration
class ProfileRegistrationFormUniqueEmail(RegistrationFormUniqueEmail):
- captcha = ReCaptchaField()
+ hcaptcha = hCaptchaField()
class Meta:
model = models.Profile
@@ -41,7 +41,7 @@ class EmbeddedAuthenticationForm(CheckApprovedForm):
class PasswordReset(PasswordResetForm):
- captcha = ReCaptchaField(label='Captcha')
+ hcaptcha = hCaptchaField()
class ProfileCreationForm(UserCreationForm):
diff --git a/users/templates/partials/navbar_user.html b/users/templates/partials/navbar_user.html
index 53d8b25b..8d03047c 100644
--- a/users/templates/partials/navbar_user.html
+++ b/users/templates/partials/navbar_user.html
@@ -1,4 +1,4 @@
-
+
{% if user.is_authenticated %}
Hi {{ user.first_name }}