Allow registration on SSO only servers.

Stop using the homeserver from user defaults.
This commit is contained in:
Doug
2022-04-28 13:06:36 +01:00
committed by Doug
parent b4d7c7f12b
commit 67a021111c
19 changed files with 169 additions and 85 deletions
@@ -45,8 +45,8 @@ class AuthenticationServerSelectionViewModel: AuthenticationServerSelectionViewM
Task {
await MainActor.run {
switch viewAction {
case .next:
completion?(.next(homeserverAddress: state.bindings.homeserverAddress))
case .confirm:
completion?(.confirm(homeserverAddress: state.bindings.homeserverAddress))
case .dismiss:
completion?(.dismiss)
case .getInTouch: