Commit 13bc2023 authored by Pedro Gomes's avatar Pedro Gomes Committed by Jan Grulich
Browse files

Fix bug with openfortivpn that do not support 2fa

BUG: 434940
parent e1b02e20
......@@ -230,8 +230,6 @@ QVariantMap FortisslvpnWidget::setting() const
if (d->advUi.tfa->isChecked()) {
data.insert(QLatin1String(NM_FORTISSLVPN_KEY_2FA"-flags"), QString::number(NetworkManager::Setting::AgentOwned));
data.insert(QLatin1String(NM_FORTISSLVPN_KEY_OTP"-flags"), QString::number(NetworkManager::Setting::None));
} else {
data.insert(QLatin1String(NM_FORTISSLVPN_KEY_2FA"-flags"), QString::number(NetworkManager::Setting::None));
}
if (!d->advUi.realm->text().isEmpty()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment