diff --git a/client/src/pages/JamiLogin.tsx b/client/src/pages/JamiLogin.tsx
index 5cd2917..256bb76 100644
--- a/client/src/pages/JamiLogin.tsx
+++ b/client/src/pages/JamiLogin.tsx
@@ -64,14 +64,14 @@
         const accessToken = await loginUser(username, password);
         setAccessToken(accessToken);
         navigate('/settings', { replace: true });
-      } catch (err) {
+      } catch (e) {
         setIsLoggingInUser(false);
-        if (err instanceof UsernameNotFound) {
+        if (e instanceof UsernameNotFound) {
           setErrorAlertContent(t('login_username_not_found'));
-        } else if (err instanceof InvalidPassword) {
+        } else if (e instanceof InvalidPassword) {
           setErrorAlertContent(t('login_invalid_password'));
         } else {
-          throw err;
+          throw e;
         }
       }
     }
