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 49e2eba52b
commit 6ed736241d
No known key found for this signature in database

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)
}