Skip to content

Commit

Permalink
Adding another print
Browse files Browse the repository at this point in the history
  • Loading branch information
COMTOP1 committed Jan 6, 2025
1 parent 7c62665 commit f4921ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func (v *Views) _loginGet(c echo.Context) error {
fmt.Println(err)
goto after
}
fmt.Println(callbackURL.Host)
fmt.Println(callbackURL.Host, strings.HasSuffix(callbackURL.Host, v.conf.BaseDomainName))
if err == nil && strings.HasSuffix(callbackURL.Host, v.conf.BaseDomainName) && callbackURL.String() != "" {
context.Callback = callbackURL.String()
}
Expand Down

0 comments on commit f4921ef

Please sign in to comment.