Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma applet for NetworkManager
Commits
13bc2023
Commit
13bc2023
authored
Mar 29, 2021
by
Pedro Gomes
Committed by
Jan Grulich
Mar 29, 2021
Browse files
Fix bug with openfortivpn that do not support 2fa
BUG: 434940
parent
e1b02e20
Changes
1
Hide whitespace changes
Inline
Side-by-side
vpn/fortisslvpn/fortisslvpnwidget.cpp
View file @
13bc2023
...
...
@@ -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
())
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment