Browse Source

add username to emby connect user creation

CauseFX 3 năm trước cách đây
mục cha
commit
3aa8931ffc
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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'],
 									);
 								}