Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion internal/web/web.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ func (web *Web) GetSamlLogin(conf config.SamlConfig) (string, error) {
wait()

saml := strings.Split(page.MustElement(`body`).MustText(), "SAMLResponse=")[1]
saml = strings.Split(saml, "&")[0]
return nurl.QueryUnescape(saml)

}
Expand All @@ -95,7 +96,7 @@ func (web *Web) ClearCache() error {
return nil
}

//checkRodProcess gets a list running process
// checkRodProcess gets a list running process
// kills any hanging rod browser process from any previous improprely closed sessions
func checkRodProcess() error {
pids := make([]int, 0)
Expand Down