mirror of
https://github.com/quexten/goldwarden.git
synced 2025-02-07 23:58:52 +01:00
Add notification to browser unlock
This commit is contained in:
parent
496cbaa078
commit
49e17b36ae
@ -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"
|
||||
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user