diff --git a/views/login.go b/views/login.go index e946183..59f638b 100644 --- a/views/login.go +++ b/views/login.go @@ -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() }