Commit ae3588a19601e0b495e16e82d6e8837569e49b7f
Merge branch 'Develop' of http://gitlab.ebix.com/ADAM/AIAHTML5 into QA
Showing
1 changed file
with
2 additions
and
1 deletions
400-SOURCECODE/AIAHTML5.API/Models/DBModel.cs
... | ... | @@ -844,7 +844,8 @@ namespace AIAHTML5.API.Models |
844 | 844 | |
845 | 845 | try |
846 | 846 | { |
847 | - if ((string.Equals(username.ToUpper(), user.LoginId.ToUpper())) && (string.Equals(password, user.Password))) | |
847 | + // if ((string.Equals(username.ToUpper(), user.LoginId.ToUpper())) && (string.Equals(password, user.Password))) | |
848 | + if (username.ToUpper().Trim().Equals(user.LoginId.ToUpper().Trim()) && (password.Trim().Equals(user.Password.Trim()))) | |
848 | 849 | { |
849 | 850 | result = true; |
850 | 851 | } | ... | ... |