mirror of
https://github.com/davidallendj/opaal.git
synced 2025-12-20 03:27:02 -07:00
WIP refactoring login
This commit is contained in:
parent
2e117bea36
commit
61a35c165d
2 changed files with 16 additions and 0 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue