Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove comment
  • Loading branch information
Emyrk committed Oct 13, 2023
commit 2816bd79152d26aa76b23ad576433d5183e101a1
4 changes: 0 additions & 4 deletions site/src/pages/LoginPage/LoginPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ export const LoginPage: FC = () => {
// to trigger a HTTP request. This allows the BE to generate the auth
// cookie required.
// If no redirect is present, then ignore this branched logic.
//
// The downside to this logic is that it is not required if the user
// is already authenticated. It only matters if the user has to
// authenticate in this login flow.
if (redirectTo !== "" && redirectTo !== "/") {
try {
// This catches any absolute redirects. Relative redirects
Expand Down