[calls] sip: provider: Don't store the password in the GKeyFile



commit 21578557f41e2d46d30fddfee434fc4621aad2b9
Author: Evangelos Ribeiro Tzaras <evangelos tzaras puri sm>
Date:   Mon Jul 12 15:22:20 2021 +0200

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

 plugins/sip/calls-sip-provider.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/plugins/sip/calls-sip-provider.c b/plugins/sip/calls-sip-provider.c
index 9e7a5b56..cece62d2 100644
--- a/plugins/sip/calls-sip-provider.c
+++ b/plugins/sip/calls-sip-provider.c
@@ -255,7 +255,6 @@ origin_to_keyfile (CallsSipOrigin *origin,
 {
   g_autofree char *host = 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 *display_name = 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, "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, "Protocol", protocol);
   g_key_file_set_integer (key_file, name, "Port", port);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]