aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Authentication/DefaultAuthenticationProvider.cs
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2019-08-15 16:08:32 +0300
committerShlomo Hecht <shlomo@twine-s.com>2019-08-15 16:08:32 +0300
commita09c5b04d4225ab966d991b7a36f20b7f5394f2f (patch)
treef88ecdb006099f7e6046307fb6b39f641f14cfd5 /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Authentication/DefaultAuthenticationProvider.cs
parent22f532c29fdcb2c8610dfd38ab461392f1d43648 (diff)
parent2211ed1bacb11df041042cf6efbccb44bb724f49 (diff)
downloadTango-a09c5b04d4225ab966d991b7a36f20b7f5394f2f.tar.gz
Tango-a09c5b04d4225ab966d991b7a36f20b7f5394f2f.zip
merge
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();