1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-30 13:12:25 -05:00

Force manual setup if using client certificates

Presently, auto-setup doesn't support certificates,
resulting in "Cannot connect to server. (Error
while decoding store URI)".
This commit is contained in:
Joe Steele 2014-07-19 17:23:38 -04:00
parent 0224a89109
commit b10b13b865

View File

@ -303,6 +303,13 @@ public class AccountSetupBasics extends K9Activity
} }
protected void onNext() { protected void onNext() {
if (mClientCertificateCheckBox.isChecked()) {
// Auto-setup doesn't support client certificates.
onManualSetup();
return;
}
String email = mEmailView.getText().toString(); String email = mEmailView.getText().toString();
String[] emailParts = splitEmail(email); String[] emailParts = splitEmail(email);
String domain = emailParts[1]; String domain = emailParts[1];