WIP refactoring login

This commit is contained in:
David J. Allen 2024-04-18 16:02:43 -06:00
parent 2e117bea36
commit 61a35c165d
No known key found for this signature in database
GPG key ID: 717C593FF60A2ACC
2 changed files with 16 additions and 0 deletions

View file

@ -93,6 +93,7 @@ func (s *Server) StartLogin(buttons string, provider *oidc.IdentityProvider, cli
// add target if query exists
if r != nil {
target = r.URL.Query().Get("target")
sso := r.URL.Query().Get("sso")
}
// show login page with notice to redirect
template, err := gonja.FromFile("pages/index.html")