diff --git a/src/IsaacAppTypes.tsx b/src/IsaacAppTypes.tsx index 96833945e2..0dc7f1c413 100644 --- a/src/IsaacAppTypes.tsx +++ b/src/IsaacAppTypes.tsx @@ -705,7 +705,6 @@ export interface AdditionalInformation { export interface CredentialsAuthDTO { email: string; password: string; - rememberMe: boolean; } export interface PaddedCredentialsAuthDTO extends CredentialsAuthDTO { diff --git a/src/app/components/elements/modals/LoginOrSignUpModal.tsx b/src/app/components/elements/modals/LoginOrSignUpModal.tsx index 68240d52d4..42db706949 100644 --- a/src/app/components/elements/modals/LoginOrSignUpModal.tsx +++ b/src/app/components/elements/modals/LoginOrSignUpModal.tsx @@ -1,5 +1,5 @@ import React, { useEffect } from "react"; -import { Button, Col, CustomInput, Form, Row } from "reactstrap"; +import { Button, Col, Form, Row } from "reactstrap"; import { closeActiveModal, selectors, store, useAppDispatch, useAppSelector } from "../../../state"; import { useLocation } from "react-router-dom"; import { @@ -20,14 +20,13 @@ const LoginOrSignUpBody = () => { const { loginFunctions, setStateFunctions, loginValues } = useLoginLogic(); const { attemptLogIn, signUp, validateAndLogIn } = loginFunctions; - const { setEmail, setPassword, setRememberMe, setPasswordResetAttempted } = setStateFunctions; + const { setEmail, setPassword, setPasswordResetAttempted } = setStateFunctions; const { email, totpChallengePending, errorMessage, logInAttempted, passwordResetAttempted, - rememberMe, isValidEmail, isValidPassword, } = loginValues; @@ -84,7 +83,7 @@ const LoginOrSignUpBody = () => { )}