Skip to content

Commit

Permalink
One more print
Browse files Browse the repository at this point in the history
  • Loading branch information
COMTOP1 committed Jan 6, 2025
1 parent f4921ef commit de043c0
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, strings.HasSuffix(callbackURL.Host, v.conf.BaseDomainName))
fmt.Println(callbackURL.Host, strings.HasSuffix(callbackURL.Host, v.conf.BaseDomainName), context.User.Authenticated)
if err == nil && strings.HasSuffix(callbackURL.Host, v.conf.BaseDomainName) && callbackURL.String() != "" {
context.Callback = callbackURL.String()
}
Expand Down

0 comments on commit de043c0

Please sign in to comment.