aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Authentication/DefaultAuthenticationProvider.cs
diff options
context:
space:
mode:
authorAvi Levkovich <avi@twine-s.com>2019-08-15 14:49:01 +0300
committerAvi Levkovich <avi@twine-s.com>2019-08-15 14:49:01 +0300
commitb1b2f343dc25c1c052a0af360ebd512d575e6de9 (patch)
tree613e9b8e68b9d1e3c215f92b43fb0714e23475bd /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Authentication/DefaultAuthenticationProvider.cs
parente3d2cb0e82a5a1c75577285077dc7c281f952705 (diff)
parent68f0b285920d9c17189522916c6f0e783629bc9a (diff)
downloadTango-b1b2f343dc25c1c052a0af360ebd512d575e6de9.tar.gz
Tango-b1b2f343dc25c1c052a0af360ebd512d575e6de9.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Authentication/DefaultAuthenticationProvider.cs')
-rw-r--r--Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Authentication/DefaultAuthenticationProvider.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Authentication/DefaultAuthenticationProvider.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Authentication/DefaultAuthenticationProvider.cs
index 951a40870..2de61fd75 100644
--- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Authentication/DefaultAuthenticationProvider.cs
+++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Authentication/DefaultAuthenticationProvider.cs
@@ -95,6 +95,14 @@ namespace Tango.MachineStudio.UI.Authentication
ObservablesContext.OverrideSettingsDataSource(response.DataSource);
}
+ if (response.VersionChangeRequired)
+ {
+ return new AuthenticationLoginResult()
+ {
+ Response = response
+ };
+ }
+
try
{
ObservablesStaticCollections.Instance.Initialize();