- {% url 'login' as login_url %} + {% url 'oidc_authentication_init' as login_url %} {% trans "More photos are available if you" %} {% trans 'logged in' %}.
{% endif %} diff --git a/amelie/activities/templates/gallery_overview.html b/amelie/activities/templates/gallery_overview.html index 91b85e5..e2c091d 100644 --- a/amelie/activities/templates/gallery_overview.html +++ b/amelie/activities/templates/gallery_overview.html @@ -175,7 +175,7 @@{% if not request.person %}
- {% url 'login' as login_url %} + {% url 'oidc_authentication_init' as login_url %} {% trans "More photos are available if you" %} {% trans 'logged in' %}.
diff --git a/amelie/activities/templates/includes/activity_enrollment.html b/amelie/activities/templates/includes/activity_enrollment.html index 473ca30..6d32532 100644 --- a/amelie/activities/templates/includes/activity_enrollment.html +++ b/amelie/activities/templates/includes/activity_enrollment.html @@ -134,7 +134,7 @@ {% endif %} {% else %}- {% url 'login' as login_url %} + {% url 'oidc_authentication_init' as login_url %} {% blocktrans with login_url=login_url next_url=obj.get_absolute_url %} To view or alter your enrollment, please log in. {% endblocktrans %} diff --git a/amelie/api/urls.py b/amelie/api/urls.py index 0610160..02ded97 100644 --- a/amelie/api/urls.py +++ b/amelie/api/urls.py @@ -3,10 +3,13 @@ from modernrpc.core import Protocol from modernrpc.views import RPCEntryPoint +from amelie.companies.views import vivatbanner_get + app_name = 'api' urlpatterns = [ path('', RPCEntryPoint.as_view(protocol=Protocol.JSON_RPC), name="jsonrpc_mountpoint"), path('docs/', RPCEntryPoint.as_view(enable_doc=True, enable_rpc=False, template_name="api/doc_index.html")), + path('vivat_banners/', vivatbanner_get, name='vivatbanner_get'), ] diff --git a/amelie/claudia/account_views.py b/amelie/claudia/account_views.py index 7cc1972..5c58b39 100644 --- a/amelie/claudia/account_views.py +++ b/amelie/claudia/account_views.py @@ -247,7 +247,7 @@ def dispatch(self, request, *args, **kwargs): class AccountPasswordResetLink(FormView): template_name = "accounts/password_reset_link.html" form_class = AccountPasswordResetLinkForm - success_url = reverse_lazy('login') + success_url = reverse_lazy('oidc_authentication_init') def dispatch(self, request, *args, **kwargs): if self.request.user.is_authenticated: diff --git a/amelie/claudia/templates/accounts/password_reset_success.html b/amelie/claudia/templates/accounts/password_reset_success.html index 7dc0b06..9fbd868 100644 --- a/amelie/claudia/templates/accounts/password_reset_success.html +++ b/amelie/claudia/templates/accounts/password_reset_success.html @@ -10,7 +10,7 @@
{% trans "Reset e-mail sent" %}
{% trans 'Check the email address you have registered at Inter-Actief for a link to reset your password. If it doesn’t appear within a few minutes, check your spam folder.' %}
- {% trans 'Return to login' %} + {% trans 'Return to login' %}