Skip to content

Commit fdc4067

Browse files
committed
fix(invite): route
1 parent 062859b commit fdc4067

File tree

4 files changed

+13
-530
lines changed

4 files changed

+13
-530
lines changed

api/login.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -433,10 +433,6 @@ func getOidcProvider(id string, ctx context.Context, redirectPath string) (*oidc
433433
}
434434

435435
if redirectPath != "" {
436-
//if !strings.HasPrefix(redirectPath, "/") {
437-
// redirectPath = "/" + redirectPath
438-
//}
439-
440436
redirectPath = strings.TrimRight(redirectPath, "/")
441437

442438
providerUrl, err2 := url.Parse(provider.RedirectURL)

0 commit comments

Comments
 (0)