correct user settings manager (and password reset)
This commit is contained in:
@@ -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 />} />
|
||||
|
||||
Reference in New Issue
Block a user