Skip to content

Commit

Permalink
Merge branch 'master' into docker-scout-patch
Browse files Browse the repository at this point in the history
  • Loading branch information
timothycarambat authored Dec 12, 2024
2 parents 3c56f65 + 0f52afd commit c3e059f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/src/pages/Login/SSO/simple.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React, { useEffect, useState } from "react";
import { FullScreenLoader } from "@/components/Preloader";
import { Navigate } from "react-router-dom";
import paths from "@/utils/paths";
import useQuery from "@/hooks/useQuery";
import System from "@/models/system";
Expand Down Expand Up @@ -47,7 +46,7 @@ export default function SimpleSSOPassthrough() {
</p>
</div>
);
if (ready) return <Navigate to={redirectPath} />;
if (ready) return window.location.replace(redirectPath);

// Loading state by default
return <FullScreenLoader />;
Expand Down

0 comments on commit c3e059f

Please sign in to comment.