From 5d7a042b7e7a53061c9f0655f64825f7528cc1a5 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Wed, 26 Jan 2022 15:02:01 +0100 Subject: [PATCH 4/6] auth_fc: record authentication event on link (#61125) --- src/authentic2_auth_fc/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/authentic2_auth_fc/views.py b/src/authentic2_auth_fc/views.py index b69f9154..e63cd915 100644 --- a/src/authentic2_auth_fc/views.py +++ b/src/authentic2_auth_fc/views.py @@ -182,6 +182,7 @@ class LoginOrLinkView(View): cache.delete('fc_is_down') if request.user.is_authenticated: + utils_misc.record_authentication_event(request, 'france-connect') return self.link(request) else: return self.login(request) -- 2.34.1