mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-15 21:04:46 +01:00
fix (sso): wrong backend selected in attribute mapping
This commit is contained in:
parent
4e7579ab65
commit
8007a95e66
1 changed files with 1 additions and 1 deletions
|
|
@ -376,7 +376,7 @@ function AuthenticationMiddleware({ authentication_available, authentication_ena
|
|||
if(attribute_mapping[selected[i].label]) continue;
|
||||
for(let j=0; j<existingValues.length; j++) {
|
||||
if(selected[i].label === existingValues[j]) {
|
||||
attribute_mapping[selected[i].label] = backend_available[selected[j].type]
|
||||
attribute_mapping[selected[i].label] = backend_available[selected[i].type]
|
||||
needToSave = true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue