1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-09-28 14:55:26 +00:00

sip: provider: Don't store the password in the GKeyFile

This commit is contained in:
Evangelos Ribeiro Tzaras 2021-07-12 15:22:20 +02:00 committed by Evangelos Ribeiro Tzaras
parent fe6b5f9f4a
commit 21578557f4

View file

@ -255,7 +255,6 @@ origin_to_keyfile (CallsSipOrigin *origin,
{ {
g_autofree char *host = NULL; g_autofree char *host = NULL;
g_autofree char *user = NULL; g_autofree char *user = NULL;
/* TODO password will get removed very soon, but is currently useful for testing */
g_autofree char *password = NULL; g_autofree char *password = NULL;
g_autofree char *display_name = NULL; g_autofree char *display_name = NULL;
g_autofree char *protocol = NULL; g_autofree char *protocol = NULL;
@ -282,7 +281,6 @@ origin_to_keyfile (CallsSipOrigin *origin,
g_key_file_set_string (key_file, name, "Host", host); g_key_file_set_string (key_file, name, "Host", host);
g_key_file_set_string (key_file, name, "User", user); g_key_file_set_string (key_file, name, "User", user);
g_key_file_set_string (key_file, name, "Password", password);
g_key_file_set_string (key_file, name, "DisplayName", display_name ?: ""); g_key_file_set_string (key_file, name, "DisplayName", display_name ?: "");
g_key_file_set_string (key_file, name, "Protocol", protocol); g_key_file_set_string (key_file, name, "Protocol", protocol);
g_key_file_set_integer (key_file, name, "Port", port); g_key_file_set_integer (key_file, name, "Port", port);