Skip to content

Commit b1d0bdb

Browse files
committed
AuthenticationManager: Wiring new StoresManager API
1 parent cf6d1c4 commit b1d0bdb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

WooCommerce/Classes/Authentication/AuthenticationManager.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ extension AuthenticationManager: WordPressAuthenticatorDelegate {
151151
fatalError("Self Hosted sites are not supported. Please review the Authenticator settings!")
152152
}
153153

154-
StoresManager.shared.authenticate(username: username, authToken: authToken)
155-
onCompletion(nil)
154+
let credentials = Credentials(username: username, authToken: authToken)
155+
StoresManager.shared.authenticate(credentials: credentials, onCompletion: onCompletion)
156156
}
157157

158158
/// Tracks a given Analytics Event.

0 commit comments

Comments
 (0)