Use proper google credential.

This commit is contained in:
Jeremy Beker 2019-06-18 15:37:39 -04:00
parent 125ea59cd6
commit 596e9c4537
No known key found for this signature in database
GPG Key ID: CD5EE767A4A34FD0
1 changed files with 1 additions and 1 deletions

View File

@ -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