also use "password-encrypted" for the 2nd autoconfig configuration

intended for deltachat, which doesn't look at the value. encrypted may be a
better default.

as discussied in #251
This commit is contained in:
Mechiel Lukkien
2025-01-27 08:31:13 +01:00
parent 4c8793158f
commit 9a38d33782
+2 -2
View File
@@ -141,7 +141,7 @@ func autoconfHandle(w http.ResponseWriter, r *http.Request) {
443,
tlsMode,
email,
"password-cleartext",
"password-encrypted",
}
resp.EmailProvider.IncomingServers = append(resp.EmailProvider.IncomingServers, incomingALPN)
}
@@ -163,7 +163,7 @@ func autoconfHandle(w http.ResponseWriter, r *http.Request) {
443,
tlsMode,
email,
"password-cleartext",
"password-encrypted",
}
resp.EmailProvider.OutgoingServers = append(resp.EmailProvider.OutgoingServers, outgoingALPN)
}