fix passwordless users

This commit is contained in:
Aiden Vigue 2021-07-30 21:45:12 -04:00
parent 295cb32419
commit a3e39c89f2
No known key found for this signature in database
GPG Key ID: B9A09843AB079D5B
2 changed files with 10 additions and 8 deletions

View File

@ -15,8 +15,8 @@
"repositoryURL": "https://github.com/Flight-School/AnyCodable",
"state": {
"branch": null,
"revision": "69261f239f0fffaf51495dadc4f8483fbfe97025",
"version": "0.6.1"
"revision": "876d162385e9862ae8b3c8d65dc301312b040005",
"version": "0.6.0"
}
},
{
@ -24,8 +24,8 @@
"repositoryURL": "https://github.com/pointfreeco/combine-schedulers",
"state": {
"branch": null,
"revision": "c37e5ae8012fb654af776cc556ff8ae64398c841",
"version": "0.5.0"
"revision": "6dcc7c034d28fe7ac652453faeae07656f723909",
"version": "0.5.1"
}
},
{
@ -60,7 +60,7 @@
"repositoryURL": "https://github.com/jellyfin/jellyfin-sdk-swift",
"state": {
"branch": "main",
"revision": "72e4111470273dff856d0c24ebb0fb30a251b1be",
"revision": "5cdc2419f547b3f31dc96f5eccaf3f303f44184b",
"version": null
}
},
@ -78,8 +78,8 @@
"repositoryURL": "https://github.com/kean/Nuke.git",
"state": {
"branch": null,
"revision": "83e1edaa5a30c567eb129c21c6d00f2f552d2c6f",
"version": "10.3.1"
"revision": "69ae6d5b8c4b898450432f94bd35f863d3830cfc",
"version": "10.3.0"
}
},
{

View File

@ -65,7 +65,9 @@ struct ConnectToServerView: View {
viewModel.hidePublicUsers()
if !(publicUser.hasPassword ?? true) {
password = ""
viewModel.login()
DispatchQueue.main.asyncAfter(deadline: .now() + 0.2) {
viewModel.login()
}
}
}
}) {