mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 02:07:12 +00:00
Prevent enabling identity OAuth username/password on errors
This commit is contained in:
parent
fbcc07f08a
commit
ead0a1c4e2
1 changed files with 5 additions and 0 deletions
|
@ -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 a new issue