mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-09 04:05:56 +00:00
nmtui: 802.1x: make anonymous identity optional
Anonymous identity may be left blank. Identity (username) field is then used.
This commit is contained in:
parent
edc2ba4991
commit
d9e5c4e63a
|
@ -297,7 +297,7 @@ eap_method_populate_ttls(EapMethod *method, NmtNewtWidget *subgrid)
|
|||
{N_("GTC"), "eap-gtc"},
|
||||
{NULL, NULL}};
|
||||
|
||||
widget = nmt_newt_entry_new(40, NMT_NEWT_ENTRY_NONEMPTY);
|
||||
widget = nmt_newt_entry_new(40, 0);
|
||||
nmt_editor_grid_append(NMT_EDITOR_GRID(subgrid), _("Anonymous identity"), widget, NULL);
|
||||
g_object_bind_property(method->setting,
|
||||
NM_SETTING_802_1X_ANONYMOUS_IDENTITY,
|
||||
|
@ -386,7 +386,7 @@ eap_method_populate_peap(EapMethod *method, NmtNewtWidget *subgrid)
|
|||
{N_("GTC"), "gtc"},
|
||||
{NULL, NULL}};
|
||||
|
||||
widget = nmt_newt_entry_new(40, NMT_NEWT_ENTRY_NONEMPTY);
|
||||
widget = nmt_newt_entry_new(40, 0);
|
||||
nmt_editor_grid_append(NMT_EDITOR_GRID(subgrid), _("Anonymous identity"), widget, NULL);
|
||||
g_object_bind_property(method->setting,
|
||||
NM_SETTING_802_1X_ANONYMOUS_IDENTITY,
|
||||
|
|
Loading…
Reference in New Issue
Block a user