From e95a8b6e18523b42c2e4408049f8cf71c05b5acf Mon Sep 17 00:00:00 2001
From: Yohann D'ANELLO <ynerant@crans.org>
Date: Wed, 3 Mar 2021 18:42:51 +0100
Subject: [PATCH] Add normalized name to services

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
---
 note_kfet/settings/base.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/note_kfet/settings/base.py b/note_kfet/settings/base.py
index 982634c8..23bfe118 100644
--- a/note_kfet/settings/base.py
+++ b/note_kfet/settings/base.py
@@ -273,3 +273,6 @@ PIC_RATIO = 1
 # Custom phone number format
 PHONENUMBER_DB_FORMAT = 'NATIONAL'
 PHONENUMBER_DEFAULT_REGION = 'FR'
+
+# We add custom information to CAS, in order to give a normalized name to other services
+CAS_AUTH_CLASS = 'member.auth.CustomAuthUser'
-- 
GitLab