aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Authentication/DefaultAuthenticationProvider.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-08-15 10:44:19 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-08-15 10:44:19 +0300
commit733f0ce4feef6b7dc4151ffe0f896efb53640314 (patch)
tree7e00d67a5259396b8ea01fb9415018fa8ef916c7 /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Authentication/DefaultAuthenticationProvider.cs
parent3bc1ca3796e262f32b2eb50cd96c5ffb6b107e6d (diff)
downloadTango-733f0ce4feef6b7dc4151ffe0f896efb53640314.tar.gz
Tango-733f0ce4feef6b7dc4151ffe0f896efb53640314.zip
Machine Studio 4.0.23.0
PPC 1.0.40.0
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();