비밀번호 변경

This commit is contained in:
현성필
2025-01-31 16:33:40 +09:00
parent c2b99b31dc
commit c36a446f7c
5 changed files with 215 additions and 2 deletions
+5
View File
@@ -32,6 +32,7 @@ const AppContent = ({ options, showLogin, setShowLogin }) => {
showTCPServerEdit: false,
showQueueEdit: false,
showUserEdit: false,
showPasswordChange: false,
selectedItem: null,
});
@@ -77,6 +78,9 @@ const AppContent = ({ options, showLogin, setShowLogin }) => {
case 'variables-show':
setDialogState(prev => ({ ...prev, showVariableModal: true }));
break;
case 'change-password':
setDialogState(prev => ({ ...prev, showPasswordChange: true }));
break;
case 'logout':
const success = await handleLogout();
if (success) {
@@ -139,6 +143,7 @@ const AppContent = ({ options, showLogin, setShowLogin }) => {
showQueueEdit={dialogState.showQueueEdit}
showUserEdit={dialogState.showUserEdit}
selectedItem={dialogState.selectedItem}
showPasswordChange={dialogState.showPasswordChange}
onDialogChange={handleDialogChange}
/>
<div className="flex-1 mt-14">