Fix formatting
This commit is contained in:
parent
dee831b79c
commit
22072a7a05
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ func LoginWithDevice(ctx context.Context, email string, cfg *config.Config, vaul
|
||||||
default:
|
default:
|
||||||
authRequestData, err := GetAuthRequest(ctx, data.ID, cfg)
|
authRequestData, err := GetAuthRequest(ctx, data.ID, cfg)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error("Could not get auth request: ", err)
|
log.Error("Could not get auth request: %s", err.Error())
|
||||||
}
|
}
|
||||||
if authRequestData.RequestApproved {
|
if authRequestData.RequestApproved {
|
||||||
masterKey, err := crypto.DecryptWithAsymmetric([]byte(authRequestData.Key), publicKey)
|
masterKey, err := crypto.DecryptWithAsymmetric([]byte(authRequestData.Key), publicKey)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue