Skip to content

Commit 819136c

Browse files
committed
Merge pull request #65 from AsrOneSdk/rijethma-dev
Fix Bug 1969426
2 parents 42c6199 + 58ea7d5 commit 819136c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ public string GenerateAgentAuthenticationHeader(string clientRequestId)
187187
DateTime currentDateTime = DateTime.Now;
188188
currentDateTime = currentDateTime.AddHours(-1);
189189
cikTokenDetails.NotBeforeTimestamp = TimeZoneInfo.ConvertTimeToUtc(currentDateTime);
190-
cikTokenDetails.NotAfterTimestamp = cikTokenDetails.NotBeforeTimestamp.AddHours(6);
190+
cikTokenDetails.NotAfterTimestamp = cikTokenDetails.NotBeforeTimestamp.AddDays(7);
191191
cikTokenDetails.ClientRequestId = clientRequestId;
192192
cikTokenDetails.Version = new Version(1, 2);
193193
cikTokenDetails.PropertyBag = new Dictionary<string, object>();

0 commit comments

Comments
 (0)