Parcourir la source

add username to emby connect user creation

CauseFX il y a 3 ans
Parent
commit
3aa8931ffc
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      api/functions/auth-functions.php

+ 1 - 0
api/functions/auth-functions.php

@@ -508,6 +508,7 @@ trait AuthFunctions
 									$this->setLoggerChannel('Emby')->info('Found User');
 									$this->setLoggerChannel('Emby')->info('Found User');
 									return array(
 									return array(
 										'email' => $connectUser['Email'],
 										'email' => $connectUser['Email'],
+										'username' => $connectUser['Name']
 										//'image' => $json['User']['ImageUrl'],
 										//'image' => $json['User']['ImageUrl'],
 									);
 									);
 								}
 								}