mirror of
https://github.com/jellyfin/jellyfin-sdk-swift.git
synced 2024-11-27 00:10:31 +00:00
remove my username
This commit is contained in:
parent
848cd01551
commit
4a412f6d6f
@ -232,7 +232,7 @@ public extension JellyfinClient {
|
||||
/// - Throws: `ClientError.noAccessTokenInResponse` if no access token was supplied in a successful authentication response
|
||||
@discardableResult
|
||||
func signIn(username: String, password: String) async throws -> AuthenticationResult {
|
||||
let authenticateUserRequest = Paths.authenticateUserByName(.init(password: password, pw: nil, username: "epippin"))
|
||||
let authenticateUserRequest = Paths.authenticateUserByName(.init(password: password, pw: nil, username: username))
|
||||
let response = try await send(authenticateUserRequest).value
|
||||
|
||||
if let accessToken = response.accessToken {
|
||||
|
Loading…
Reference in New Issue
Block a user