From ec1752307a4a273324cd8f13bb099fed6ff7ef3a Mon Sep 17 00:00:00 2001 From: "Emma@Rory&" Date: Tue, 19 Sep 2023 00:17:18 +0200 Subject: Refactors --- MatrixRoomUtils.Web/Pages/InvalidSession.razor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MatrixRoomUtils.Web/Pages/InvalidSession.razor') diff --git a/MatrixRoomUtils.Web/Pages/InvalidSession.razor b/MatrixRoomUtils.Web/Pages/InvalidSession.razor index 310abb1..b476c68 100644 --- a/MatrixRoomUtils.Web/Pages/InvalidSession.razor +++ b/MatrixRoomUtils.Web/Pages/InvalidSession.razor @@ -78,7 +78,7 @@ else { private async Task TryLogin() { if(_login is null) throw new NullReferenceException("Login is null!"); try { - var result = new UserAuth(await HomeserverProvider.Login(_login.Homeserver, _login.UserId, _password)); + var result = new UserAuth(await hsProvider.Login(_login.Homeserver, _login.UserId, _password)); if (result is null) { Console.WriteLine($"Failed to login to {_login.Homeserver} as {_login.UserId}!"); return; -- cgit 1.4.1