mirror of https://github.com/M66B/FairEmail.git
Allow setting username/password for password provider
This commit is contained in:
parent
69002e72c8
commit
d26bb65510
|
@ -372,6 +372,12 @@ public class FragmentIdentity extends FragmentBase {
|
|||
etPort.setText(position == 0 ? null : Integer.toString(provider.smtp.port));
|
||||
rgEncryption.check(provider.smtp.starttls ? R.id.radio_starttls : R.id.radio_ssl);
|
||||
cbUseIp.setChecked(provider.useip);
|
||||
|
||||
EntityAccount account = (EntityAccount) spAccount.getSelectedItem();
|
||||
etUser.setEnabled(auth == MailService.AUTH_TYPE_PASSWORD ||
|
||||
account == null || !provider.imap.host.equals(account.host));
|
||||
tilPassword.setEnabled(auth == MailService.AUTH_TYPE_PASSWORD ||
|
||||
account == null || !provider.imap.host.equals(account.host));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue