Skip to content

Commit 4de12ce

Browse files
committed
fix: no need to log that the provider is empty
1 parent 0cf0aaf commit 4de12ce

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ docker-compose.test.yml
1111
users.txt
1212

1313
# secret test file
14-
secret.txt
14+
secret.txt
15+
secret_oauth.txt

internal/hooks/hooks.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ func (hooks *Hooks) UseUserContext(c *gin.Context) types.UserContext {
7373
}
7474
}
7575

76-
log.Error().Msg("Provider does not exist")
7776
return types.UserContext{
7877
Username: "",
7978
IsLoggedIn: false,

0 commit comments

Comments
 (0)