mirror of https://github.com/M66B/FairEmail.git
Prevent enabling identity OAuth username/password on errors
This commit is contained in:
parent
fbcc07f08a
commit
ead0a1c4e2
|
@ -638,6 +638,11 @@ public class FragmentIdentity extends FragmentBase {
|
|||
saving = false;
|
||||
getActivity().invalidateOptionsMenu();
|
||||
Helper.setViewsEnabled(view, true);
|
||||
if (auth != AUTH_TYPE_PASSWORD) {
|
||||
etUser.setEnabled(false);
|
||||
tilPassword.setEnabled(false);
|
||||
btnCertificate.setEnabled(false);
|
||||
}
|
||||
pbSave.setVisibility(View.GONE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue