forked from PnX-SI/GeoNature
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(auth): do not update user organism information from inpn
Add a boolean parameter `update_user_organism` for the function `insert_user_and_org` to keep the existing id_organisme information for a user that already is in the instance database. > Set this parameter to `True` when calling `insert_user_and_org` in `loginCas` function, thus preventing from updating user organism info from INPN when the user authenticates via CAS INPN.
- Loading branch information
1 parent
51f6ff4
commit 0bfea95
Showing
1 changed file
with
22 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters