diff --git a/views/login.go b/views/login.go index 59f638b..e9bb02e 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, 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() }