Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfeistel <6742251-feistel@users.noreply.gitlab.com>2021-04-22 18:53:18 +0300
committerfeistel <6742251-feistel@users.noreply.gitlab.com>2021-04-22 18:53:18 +0300
commitc04f97bdbfa7ae5f1eb732791a3eaa04c8f241d6 (patch)
tree0982c2c42d1837ddf237971087cda27b9c9a773e /internal/auth/auth.go
parent7250a994989f44c8bc3b83f60cba564cd3c3a74e (diff)
Follow error strings convention
Diffstat (limited to 'internal/auth/auth.go')
-rw-r--r--internal/auth/auth.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/auth/auth.go b/internal/auth/auth.go
index da35ba51..5d503799 100644
--- a/internal/auth/auth.go
+++ b/internal/auth/auth.go
@@ -540,7 +540,7 @@ func (a *Auth) GetTokenIfExists(w http.ResponseWriter, r *http.Request) (string,
session, err := a.checkSession(w, r)
if err != nil {
- return "", errors.New("Error retrieving the session")
+ return "", errors.New("error retrieving the session")
}
if session.Values["access_token"] != nil {