correct user settings manager (and password reset)

This commit is contained in:
LathanDevers
2026-08-04 16:51:00 +02:00
parent 84d7b7e847
commit 85adfaab2d
11 changed files with 339 additions and 78 deletions
+2
View File
@@ -14,6 +14,7 @@ import Analytics from '@/pages/trustcenter/Analytics';
import Backups from '@/pages/trustcenter/Backups';
import NewTicket from '@/pages/servicedesk/NewTicket';
import TicketDetail from '@/pages/servicedesk/TicketDetail';
import UpdatePasswordPage from './pages/accountsettings/UpdatePasswordPage';
function App() {
const [isAuthenticated, setIsAuthenticated] = useState(pb.authStore.isValid);
@@ -63,6 +64,7 @@ function App() {
<Route path="/backups" element={<Backups />} />
<Route path="/support/new" element={<NewTicket />} />
<Route path="/support/tickets/:ticketId" element={<TicketDetail />} />
<Route path="/settings/security/password" element={<UpdatePasswordPage />} />
{/* Sécurité : Si l'URL n'existe pas, on redirige vers le dashboard */}
<Route path="*" element={<Navigate to="/dashboard" replace />} />