refactor(handler): minor cleanups

This commit is contained in:
Trong Huu Nguyen
2022-07-19 20:11:52 +02:00
parent 3e62683cad
commit 09ab8b9e3b
7 changed files with 14 additions and 10 deletions

View File

@@ -17,6 +17,7 @@ import (
retrypkg "github.com/nais/wonderwall/pkg/retry"
)
// Callback handles the authentication response from the identity provider.
func (h *Handler) Callback(w http.ResponseWriter, r *http.Request) {
// unconditionally clear login cookie
h.clearLoginCookies(w)