Skip to content

Commit

Permalink
Add notification to browser unlock
Browse files Browse the repository at this point in the history
  • Loading branch information
quexten committed Jan 19, 2024
1 parent 496cbaa commit 49e17b3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions agent/actions/browserbiometrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ package actions
import (
"encoding/base64"
"fmt"
"time"

"github.com/quexten/goldwarden/agent/config"
"github.com/quexten/goldwarden/agent/notify"
"github.com/quexten/goldwarden/agent/sockets"
"github.com/quexten/goldwarden/agent/systemauth"
"github.com/quexten/goldwarden/agent/systemauth/biometrics"
Expand Down Expand Up @@ -51,6 +53,7 @@ func handleGetBiometricsKey(request messages.IPCMessage, cfg *config.Config, vau
Key: masterKeyB64,
})
actionsLog.Info("Browser Biometrics: Sending key...")
notify.Notify("Goldwarden", "Unlocked Browser Extension", "", 10*time.Second, func() {})
return response, err
}

Expand Down

0 comments on commit 49e17b3

Please sign in to comment.