mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-23 18:02:15 -05:00
Don't export incoming/outgoing server passwords
This commit is contained in:
parent
1de28150e2
commit
7a9c747db9
@ -231,8 +231,8 @@ public class StorageExporter {
|
|||||||
writeElement(serializer, CONNECTION_SECURITY_ELEMENT, incoming.connectionSecurity.name());
|
writeElement(serializer, CONNECTION_SECURITY_ELEMENT, incoming.connectionSecurity.name());
|
||||||
writeElement(serializer, AUTHENTICATION_TYPE_ELEMENT, incoming.authenticationType);
|
writeElement(serializer, AUTHENTICATION_TYPE_ELEMENT, incoming.authenticationType);
|
||||||
writeElement(serializer, USERNAME_ELEMENT, incoming.username);
|
writeElement(serializer, USERNAME_ELEMENT, incoming.username);
|
||||||
//TODO: make saving the password optional
|
// XXX For now we don't export the password
|
||||||
writeElement(serializer, PASSWORD_ELEMENT, incoming.password);
|
//writeElement(serializer, PASSWORD_ELEMENT, incoming.password);
|
||||||
|
|
||||||
Map<String, String> extras = incoming.getExtra();
|
Map<String, String> extras = incoming.getExtra();
|
||||||
if (extras != null && extras.size() > 0) {
|
if (extras != null && extras.size() > 0) {
|
||||||
@ -258,8 +258,8 @@ public class StorageExporter {
|
|||||||
writeElement(serializer, CONNECTION_SECURITY_ELEMENT, outgoing.connectionSecurity.name());
|
writeElement(serializer, CONNECTION_SECURITY_ELEMENT, outgoing.connectionSecurity.name());
|
||||||
writeElement(serializer, AUTHENTICATION_TYPE_ELEMENT, outgoing.authenticationType);
|
writeElement(serializer, AUTHENTICATION_TYPE_ELEMENT, outgoing.authenticationType);
|
||||||
writeElement(serializer, USERNAME_ELEMENT, outgoing.username);
|
writeElement(serializer, USERNAME_ELEMENT, outgoing.username);
|
||||||
//TODO: make saving the password optional
|
// XXX For now we don't export the password
|
||||||
writeElement(serializer, PASSWORD_ELEMENT, outgoing.password);
|
//writeElement(serializer, PASSWORD_ELEMENT, outgoing.password);
|
||||||
|
|
||||||
extras = outgoing.getExtra();
|
extras = outgoing.getExtra();
|
||||||
if (extras != null && extras.size() > 0) {
|
if (extras != null && extras.size() > 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user