From 4de12ce5c12d7446d03e17e5bb1872e4ca59bf2d Mon Sep 17 00:00:00 2001 From: Stavros Date: Sun, 26 Jan 2025 21:36:41 +0200 Subject: [PATCH] fix: no need to log that the provider is empty --- .gitignore | 3 ++- internal/hooks/hooks.go | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index c50d844..d37fc53 100644 --- a/.gitignore +++ b/.gitignore @@ -11,4 +11,5 @@ docker-compose.test.yml users.txt # secret test file -secret.txt \ No newline at end of file +secret.txt +secret_oauth.txt \ No newline at end of file diff --git a/internal/hooks/hooks.go b/internal/hooks/hooks.go index b252a40..58d1feb 100644 --- a/internal/hooks/hooks.go +++ b/internal/hooks/hooks.go @@ -73,7 +73,6 @@ func (hooks *Hooks) UseUserContext(c *gin.Context) types.UserContext { } } - log.Error().Msg("Provider does not exist") return types.UserContext{ Username: "", IsLoggedIn: false,