diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-02-18 18:16:24 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-02-18 18:16:24 +0200 |
| commit | 45829a9fb6f4b0d4443e22c972cf8543be533d4e (patch) | |
| tree | 8255065ff8e3e7071dc53486870b1a0047d57d5a /Software/Visual_Studio/Web/Tango.MachineService/Controllers/MachineStudioController.cs | |
| parent | 78181d457b113c25e9ea55b378d6b6bd8e201338 (diff) | |
| download | Tango-45829a9fb6f4b0d4443e22c972cf8543be533d4e.tar.gz Tango-45829a9fb6f4b0d4443e22c972cf8543be533d4e.zip | |
Working on Tokens Manager.
Diffstat (limited to 'Software/Visual_Studio/Web/Tango.MachineService/Controllers/MachineStudioController.cs')
| -rw-r--r-- | Software/Visual_Studio/Web/Tango.MachineService/Controllers/MachineStudioController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Web/Tango.MachineService/Controllers/MachineStudioController.cs b/Software/Visual_Studio/Web/Tango.MachineService/Controllers/MachineStudioController.cs index 142980fdd..98ea8d827 100644 --- a/Software/Visual_Studio/Web/Tango.MachineService/Controllers/MachineStudioController.cs +++ b/Software/Visual_Studio/Web/Tango.MachineService/Controllers/MachineStudioController.cs @@ -347,7 +347,7 @@ namespace Tango.MachineService.Controllers Password = request.Password, }, - AccessToken = TokensManager.CreateNew(user.Guid), + AccessToken = TokensManager.GetOrCreate(user.Guid), VersionChangeRequired = versionChangeRequired, RequiredVersion = requiredVersion, }; |
