From 9b774329523afa67796995205068d94988ee8ebc Mon Sep 17 00:00:00 2001 From: reesporte Date: Wed, 29 Dec 2021 14:22:29 -0600 Subject: [PATCH] fix bad formatting --- authn/authenticate.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/authn/authenticate.go b/authn/authenticate.go index e1a51f5f6..8e5f9a43d 100644 --- a/authn/authenticate.go +++ b/authn/authenticate.go @@ -93,8 +93,7 @@ type UserInfo struct { // Authenticate redirects the user to sign in. If the cookie is within the // refresh window of expiring, the cookie is refreshed, and the updated group // membership is returned. -func (a *Auth) Authenticate(w http.ResponseWriter, r *http.Request) ([]Group, - error) { +func (a *Auth) Authenticate(w http.ResponseWriter, r *http.Request) ([]Group, error) { cookie, err := a.readCookie(w, r) if err != nil { http.Redirect(w, r, "/signin", http.StatusTemporaryRedirect)