Skip to content

Commit

Permalink
Mark Encrypted Message requests as secure
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Aug 24, 2017
1 parent 3afffdd commit 12b4ba4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ServiceStack/EncryptedMessagesFeature.cs
Expand Up @@ -159,6 +159,7 @@ public void Register(IAppHost appHost)
var requestType = appHost.Metadata.GetOperationType(operationName);
var request = JsonSerializer.DeserializeFromString(requestJson, requestType);
req.RequestAttributes |= RequestAttributes.Secure;
req.Items[RequestItemsCryptKey] = cryptKey;
req.Items[RequestItemsAuthKey] = authKey;
req.Items[RequestItemsIv] = iv;
Expand Down

0 comments on commit 12b4ba4

Please sign in to comment.