From 917c4986390745e09e609a57cb72169cf9e53317 Mon Sep 17 00:00:00 2001 From: Mart van Santen <mart@greenhost.nl> Date: Fri, 24 Feb 2023 15:28:25 +0800 Subject: [PATCH] Remove comments --- backend/web/login/login.py | 2 -- frontend/src/components/UserModal/UserModal.tsx | 6 ------ 2 files changed, 8 deletions(-) diff --git a/backend/web/login/login.py b/backend/web/login/login.py index 6f86ccf9..12d4ff1a 100644 --- a/backend/web/login/login.py +++ b/backend/web/login/login.py @@ -4,8 +4,6 @@ Hydra for OIDC sessions and MariaDB for application and role specifications. The application provides also several command line options to interact with the user entries in the database(s)""" -# 2022-02-22-20:22 - import urllib.parse import urllib.request import ast diff --git a/frontend/src/components/UserModal/UserModal.tsx b/frontend/src/components/UserModal/UserModal.tsx index 3a8dda58..38830ea4 100644 --- a/frontend/src/components/UserModal/UserModal.tsx +++ b/frontend/src/components/UserModal/UserModal.tsx @@ -13,9 +13,6 @@ import { UserModalProps } from './types'; export const UserModal = ({ open, onClose, userId, setUserId }: UserModalProps) => { const [deleteModal, setDeleteModal] = useState(false); const [passwordLinkModal, setPasswordLinkModal] = useState(false); - // const [passwordLinkBody, setPasswordLinkBody] = useState({ - // value: 'start', - // }); const [isAdminRoleSelected, setAdminRoleSelected] = useState(true); const [isPersonalModal, setPersonalModal] = useState(false); const { @@ -117,9 +114,6 @@ export const UserModal = ({ open, onClose, userId, setUserId }: UserModalProps) const passwordLinkModalOpen = () => { if (userId) { getRecoveryLinkUserById(userId); - // setPasswordLinkBody({ - // value: userId, - // }); } setPasswordLinkModal(true); }; -- GitLab