Neozlag 3 лет назад
Родитель
Сommit
03b1e4038e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      inc/provider.class.php

+ 1 - 1
inc/provider.class.php

@@ -1098,7 +1098,7 @@ class PluginSinglesignonProvider extends CommonDBTM {
       }
 
       $remote_id = false;
-      $remote_id_fields = ['id', 'username'];
+      $remote_id_fields = ['id', 'username', 'sub'];
 
       foreach ($remote_id_fields as $field) {
          if (isset($resource_array[$field]) && !empty($resource_array[$field])) {