mirror of https://github.com/M66B/FairEmail.git
Small improvement
This commit is contained in:
parent
9c1bba0e15
commit
ab5b866fe6
|
@ -577,7 +577,7 @@ public class FragmentOAuth extends FragmentBase {
|
|||
List<String> usernames = new ArrayList<>();
|
||||
usernames.add(sharedname == null ? username : sharedname);
|
||||
|
||||
if (token != null && sharedname == null) {
|
||||
if (token != null && sharedname == null && !"gmail".equals(id)) {
|
||||
// https://docs.microsoft.com/en-us/azure/active-directory/develop/access-tokens
|
||||
String[] segments = token.split("\\.");
|
||||
if (segments.length > 1)
|
||||
|
|
Loading…
Reference in New Issue