mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2025-11-03 04:50:14 +08:00
fix (sso): wrong backend selected in attribute mapping
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user