about summary refs log tree commit diff
path: root/MatrixRoomUtils.Web/Pages/InvalidSession.razor
diff options
context:
space:
mode:
authorEmma@Rory& <root@rory.gay>2023-09-19 00:17:18 +0200
committerEmma@Rory& <root@rory.gay>2023-09-19 00:17:18 +0200
commitec1752307a4a273324cd8f13bb099fed6ff7ef3a (patch)
tree5d287d992aa49d6d7f898198a6e769314f65f8eb /MatrixRoomUtils.Web/Pages/InvalidSession.razor
parentRefactors (diff)
downloadMatrixUtils-ec1752307a4a273324cd8f13bb099fed6ff7ef3a.tar.xz
Refactors
Diffstat (limited to 'MatrixRoomUtils.Web/Pages/InvalidSession.razor')
-rw-r--r--MatrixRoomUtils.Web/Pages/InvalidSession.razor2
1 files changed, 1 insertions, 1 deletions
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;