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>2020-01-19 16:10:55 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2020-01-19 16:10:55 +0200
commit7ffd0bab3c6f397936f8ef9f6829cdf33b850efa (patch)
treec2fb5b6cef2d04fe529b284a734657749880abf9 /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Authentication/DefaultAuthenticationProvider.cs
parent09d432566f696f0eeb3fce97d2c870cfd1c91f89 (diff)
downloadTango-7ffd0bab3c6f397936f8ef9f6829cdf33b850efa.tar.gz
Tango-7ffd0bab3c6f397936f8ef9f6829cdf33b850efa.zip
Implemented new ms user creation + PASSWORD_CHANGE_REQUIRED.
Improved ms login design + password change. Improved ms main menu and current user design.
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 0131cd209..26938b203 100644
--- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Authentication/DefaultAuthenticationProvider.cs
+++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Authentication/DefaultAuthenticationProvider.cs
@@ -147,6 +147,14 @@ namespace Tango.MachineStudio.UI.Authentication
};
}
+ if (response.PasswordChangeRequired)
+ {
+ return new AuthenticationLoginResult()
+ {
+ Response = response
+ };
+ }
+
try
{
ObservablesStaticCollections.Instance.Initialize((x) =>