Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sign-in screen claiming invalid credentials when server is unavailable #1871

Merged
merged 1 commit into from
Jul 22, 2022

Conversation

AndreasGB
Copy link
Contributor

Changes
This makes the "Unable to connect" message appear when trying to sign into an unavailable server instead of the one claiming invalid credentials by having AuthenticationRepository emit the ServerUnavailableState when authentication with credentials fails due to a network error.

Possibly this catch Block should also be added to the other authentication methods.

Depends on jellyfin/jellyfin-sdk-kotlin#442 for the appropriate exception to be raised.

Issues
None

@AndreasGB AndreasGB added bug Something isn't working blocked Needs another PR first labels Jul 20, 2022
@nielsvanvelzen nielsvanvelzen added this to In progress in v0.14.0 via automation Jul 22, 2022
@nielsvanvelzen nielsvanvelzen merged commit dfc4d39 into jellyfin:master Jul 22, 2022
v0.14.0 automation moved this from In progress to Done Jul 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Needs another PR first bug Something isn't working
Projects
No open projects
v0.14.0
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants