aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Authentication
diff options
context:
space:
mode:
authorVictoria Plitt <Victoria.Plitt@twine-s.com>2020-01-19 16:44:58 +0200
committerVictoria Plitt <Victoria.Plitt@twine-s.com>2020-01-19 16:44:58 +0200
commitc87dfdfc47a41fd5524dc9145350208295ca6714 (patch)
tree824fb82b79b8486fa2be9d63cb29b8504a7ee5a9 /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Authentication
parent601c03423f2f623d28df991ef6870e3d981ffe05 (diff)
parent13b01cc6e2539dae0063f8cf23909e07982dfbb9 (diff)
downloadTango-c87dfdfc47a41fd5524dc9145350208295ca6714.tar.gz
Tango-c87dfdfc47a41fd5524dc9145350208295ca6714.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Authentication')
-rw-r--r--Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Authentication/DefaultAuthenticationProvider.cs3
1 files changed, 2 insertions, 1 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 c992d0768..209b26505 100644
--- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Authentication/DefaultAuthenticationProvider.cs
+++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Authentication/DefaultAuthenticationProvider.cs
@@ -90,7 +90,7 @@ namespace Tango.MachineStudio.UI.Authentication
/// <param name="password">The password.</param>
/// <returns></returns>
/// <exception cref="AuthenticationException">Login failed for user " + email</exception>
- public AuthenticationLoginResult Login(string email, string password, bool bypassVersionCheck = false)
+ public AuthenticationLoginResult Login(string email, string password, LoginMethod method, bool bypassVersionCheck = false)
{
_refreshTokenTimer.Stop();
@@ -118,6 +118,7 @@ namespace Tango.MachineStudio.UI.Authentication
Email = email,
Password = password,
Version = appVersion,
+ Method = method,
}).Result;
}