Use proper google credential.
This commit is contained in:
parent
125ea59cd6
commit
596e9c4537
|
@ -77,7 +77,7 @@ struct SettingsGoogleReaderCompatibleAccountView : View {
|
|||
error = Text("")
|
||||
|
||||
let emailAddress = viewModel.email.trimmingCharacters(in: .whitespaces)
|
||||
let credentials = Credentials.basic(username: emailAddress, password: viewModel.password)
|
||||
let credentials = Credentials.googleBasicLogin(username: emailAddress, password: viewModel.password)
|
||||
guard let apiURL = URL(string: viewModel.apiURL) else {
|
||||
self.error = Text("Invalide API URL.")
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue