Adjust permissions of saved logins to 0600 when saving logins
This commit is contained in:
parent
3ed2046d50
commit
af7d9428e7
1 changed files with 1 additions and 0 deletions
|
@ -110,6 +110,7 @@ authentication_message_got_headers_cb (SoupMessage* msg,
|
||||||
fprintf (file, "%s\t%s\t%s\n", opaque_info,
|
fprintf (file, "%s\t%s\t%s\n", opaque_info,
|
||||||
login->username, login->password);
|
login->username, login->password);
|
||||||
fclose (file);
|
fclose (file);
|
||||||
|
g_chmod (save->http_auth->filename, 0600);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue