"Edit Mail Account" - Hide "Password" field on OAuth-based accounts
Unnecessary field is likely to cause confusion.
- Create an OAuth-based email account
- After creating the account, you see the "Edit Mail Account screen:
The field "Password" is displayed. However, it is completely ignored. The existence of an OAuth2 token means that it is never used.
Don't show the field.
Orgive some kind of indicator that there's an active token which renders the field irrelevant.
Maybe add a link to
civicrm/admin/oauth where one can view/inspect the tokens.