Fix formatting

This commit is contained in:
Bernd Schoolmann 2023-08-21 18:41:30 +02:00
parent dee831b79c
commit 22072a7a05
No known key found for this signature in database

View File

@ -146,7 +146,7 @@ func LoginWithDevice(ctx context.Context, email string, cfg *config.Config, vaul
default:
authRequestData, err := GetAuthRequest(ctx, data.ID, cfg)
if err != nil {
log.Error("Could not get auth request: ", err)
log.Error("Could not get auth request: %s", err.Error())
}
if authRequestData.RequestApproved {
masterKey, err := crypto.DecryptWithAsymmetric([]byte(authRequestData.Key), publicKey)