1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Fix some log and UI problems (#34863)

Remove the misleading error log, fix #34738

Make the "search" input auto-focused, fix #34807
This commit is contained in:
wxiaoguang
2025-06-26 00:32:50 +08:00
committed by GitHub
parent 35a8e6f8e9
commit 1839110ea6
4 changed files with 15 additions and 10 deletions

View File

@@ -85,7 +85,7 @@ func VerifyGPGKey(ctx context.Context, ownerID int64, keyID, token, signature st
}
if signer == nil {
log.Error("Unable to validate token signature. Error: %v", err)
log.Debug("VerifyGPGKey failed: no signer")
return "", ErrGPGInvalidTokenSignature{
ID: key.KeyID,
}