Skip to content
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.

return invalid credentials when user was not found #30

Merged
merged 1 commit into from
Jul 30, 2020

Conversation

butonic
Copy link
Member

@butonic butonic commented Jul 30, 2020

We were relying on an error code of the ListAccounts call when the username and password was wrong. But the list will be empty if no user with the given login was found. So we also need to check if the list of accounts is empty.

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
@butonic butonic requested a review from refs July 30, 2020 14:14
@butonic butonic self-assigned this Jul 30, 2020
@butonic butonic added the bug Something isn't working label Jul 30, 2020
@IljaN IljaN self-requested a review July 30, 2020 14:27
@refs refs merged commit 8216a5d into owncloud:master Jul 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants