aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Web/Tango.MachineService/Controllers/MachineStudioController.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-02-18 18:18:17 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-02-18 18:18:17 +0200
commit2d509ae1127acfef2b94e83bc65c742d140a1908 (patch)
tree8c4f1d6d05521e6b50e821a8aaa12ec22dee4e16 /Software/Visual_Studio/Web/Tango.MachineService/Controllers/MachineStudioController.cs
parent45829a9fb6f4b0d4443e22c972cf8543be533d4e (diff)
downloadTango-2d509ae1127acfef2b94e83bc65c742d140a1908.tar.gz
Tango-2d509ae1127acfef2b94e83bc65c742d140a1908.zip
Set machine studio tokens expiration to 10 days.
Diffstat (limited to 'Software/Visual_Studio/Web/Tango.MachineService/Controllers/MachineStudioController.cs')
-rw-r--r--Software/Visual_Studio/Web/Tango.MachineService/Controllers/MachineStudioController.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Web/Tango.MachineService/Controllers/MachineStudioController.cs b/Software/Visual_Studio/Web/Tango.MachineService/Controllers/MachineStudioController.cs
index 98ea8d827..bafac31f0 100644
--- a/Software/Visual_Studio/Web/Tango.MachineService/Controllers/MachineStudioController.cs
+++ b/Software/Visual_Studio/Web/Tango.MachineService/Controllers/MachineStudioController.cs
@@ -39,6 +39,7 @@ namespace Tango.MachineService.Controllers
static MachineStudioController()
{
TokensManager = new TokensManager<string>();
+ TokensManager.ExpirationTime = TimeSpan.FromDays(10);
_pendingUploads = new List<MachineStudioPendingUpload>();
}