Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Commit

Permalink
fix(Tinebase): fix mfa multiOptionsDialog login selection
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Feitl committed Feb 17, 2023
1 parent e72c809 commit 28e14d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tine20/Tinebase/js/AreaLocks.js
Expand Up @@ -119,13 +119,13 @@ class AreaLocks extends Ext.util.Observable {
}
if (mfaDevices.length > 1) {
selectedDevice = _.find(mfaDevices, {
mfa_config_id: await Tine.widgets.dialog.MultiOptionsDialog.getOption({
id: await Tine.widgets.dialog.MultiOptionsDialog.getOption({
title: window.i18n._('Choose MFA Deivce'),
questionText: window.i18n._('This area is locked. Which device should be used to unlock.'),
height: 100 + mfaDevices.length * 30,
allowCancel: true,
options: _.map(mfaDevices, (mfaDevice) => {
return { text: mfaDevice.device_name, name: mfaDevice.mfa_config_id };
return { text: mfaDevice.device_name, name: mfaDevice.id };
})
})
})
Expand Down

0 comments on commit 28e14d1

Please sign in to comment.