diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-08-21 13:05:37 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-08-21 13:05:37 +0300 |
| commit | 5c58e6499306b3087015758c1054497dccc407e6 (patch) | |
| tree | 82d3b43c83f57d381d7a4fd4d7071861387fb68f /Software/Visual_Studio/PPC/Tango.PPC.UI/Authentication/DefaultAuthenticationProvider.cs | |
| parent | b4a1c833f0e67835e89961e77329efe5bf2a7797 (diff) | |
| download | Tango-5c58e6499306b3087015758c1054497dccc407e6.tar.gz Tango-5c58e6499306b3087015758c1054497dccc407e6.zip | |
Done with Developer Module.
Implemented DB auth using Azure Active Directory Interactive!
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/Authentication/DefaultAuthenticationProvider.cs')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.UI/Authentication/DefaultAuthenticationProvider.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Authentication/DefaultAuthenticationProvider.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/Authentication/DefaultAuthenticationProvider.cs index 4096abc24..3dae9d05a 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Authentication/DefaultAuthenticationProvider.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Authentication/DefaultAuthenticationProvider.cs @@ -55,7 +55,7 @@ namespace Tango.PPC.UI.Authentication String hash = User.GetPasswordHash(password); LogManager.Log($"Logging in user {email}..."); - CurrentUser = ObservablesEntitiesAdapter.Instance.Users.SingleOrDefault(x => x.Email.ToLower() == email && x.Password == hash); + CurrentUser = ObservablesStaticCollections.Instance.Users.SingleOrDefault(x => x.Email.ToLower() == email && x.Password == hash); if (CurrentUser != null) { |
