소스 검색

add username to emby connect user creation

CauseFX 3 년 전
부모
커밋
3aa8931ffc
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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');
 									return array(
 										'email' => $connectUser['Email'],
+										'username' => $connectUser['Name']
 										//'image' => $json['User']['ImageUrl'],
 									);
 								}