From 74f4e749b998eb02e4fe35b6d9630c4046770030 Mon Sep 17 00:00:00 2001 From: Maarten den Braber Date: Mon, 27 May 2019 11:14:15 +0200 Subject: [PATCH] Formatting --- server/handlers.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/handlers.go b/server/handlers.go index 854fe075..ef835da6 100644 --- a/server/handlers.go +++ b/server/handlers.go @@ -2,8 +2,8 @@ package server import ( "context" - "encoding/json" "encoding/base64" + "encoding/json" "errors" "fmt" "net/http" @@ -567,7 +567,7 @@ func (s *Server) sendCodeResponse(w http.ResponseWriter, r *http.Request, authRe idTokenExpiry time.Time // Access token - accessToken string + accessToken string ) for _, responseType := range authReq.ResponseTypes { @@ -1079,7 +1079,7 @@ func (s *Server) handleUserInfo(w http.ResponseWriter, r *http.Request) { w.Header().Set("Content-Type", "application/json") w.Write(verified) - } +} func (s *Server) verify(token string) ([]byte, error) { keys, err := s.storage.GetKeys()