Small improvement

This commit is contained in:
M66B 2022-07-11 19:08:02 +02:00
parent 9c1bba0e15
commit ab5b866fe6
1 changed files with 1 additions and 1 deletions

View File

@ -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)