From c8fe767d7c9bbbe335fbd843a23c227de7af8ec2 Mon Sep 17 00:00:00 2001 From: Pascal Corpet Date: Sun, 26 Sep 2010 18:22:36 +0200 Subject: [PATCH] fixes use of field 'nom' and 'prenom' in groupeX auth --- ChangeLog | 3 +++ modules/auth/auth.inc.php | 2 ++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index e4754b2..961212f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -13,6 +13,9 @@ From 1.0.0 branch: * AXLetter: - Fix unsubscription -XEL + * Auth: + - Fix GroupeX auth (using french fields) -Car + * Carnet: - Fix inaccessible carnet/panel in case of profile update -FRU - Fix notification email -JAC diff --git a/modules/auth/auth.inc.php b/modules/auth/auth.inc.php index 383745a..1cb1ca4 100644 --- a/modules/auth/auth.inc.php +++ b/modules/auth/auth.inc.php @@ -42,6 +42,8 @@ function gpex_make($chlg, $privkey, $datafields, $charset) $personnal_data['nationalite'] = $personnal_data['nationality1']; $personnal_data['naissance'] = $personnal_data['birthdate']; $personnal_data['deces'] = $personnal_data['deathdate']; + $personnal_data['nom'] = $personnal_data['lastname']; + $personnal_data['prenom'] = $personnal_data['firstname']; $personnal_data['flags'] = $user->profile()->isFemale() ? 'femme' : ''; } else { $personnal_data = array(); -- 2.1.4