4
0
Эх сурвалжийг харах

add username to emby connect user creation

CauseFX 3 жил өмнө
parent
commit
3aa8931ffc

+ 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'],
 									);
 									);
 								}
 								}