Merge branch 'feature_rene_13_dakota' of ssh://float.ownsoft.de/git/beyondSoft/BeWo
This commit is contained in:
@@ -20,10 +20,9 @@ namespace Host
|
||||
var username = Request.Form["username"];
|
||||
var password = Request.Form["password"];
|
||||
|
||||
var service = new UserServiceImp();
|
||||
var user = DAOFactory.UserDAO.FindUserByLoginName(username);
|
||||
|
||||
var result_valid = service.IsUserValid(username, password);
|
||||
var result = result_valid == BS.Shared.UserValidationResult.UserValid;
|
||||
var result = user.BCryptPassword == password;
|
||||
|
||||
if (!result)
|
||||
{
|
||||
|
||||
@@ -755,7 +755,7 @@ namespace BeWo.Service.ServiceImplementations
|
||||
if (!updateables.Any())
|
||||
return dcs;
|
||||
|
||||
var isUpToDate = SendApp8GetStatusRequest(updateables, user.LoginName, user.RC2EncryptedHash);
|
||||
var isUpToDate = SendApp8GetStatusRequest(updateables, user.LoginName, user.BCryptPassword);
|
||||
|
||||
if (isUpToDate)
|
||||
return dcs;
|
||||
|
||||
Reference in New Issue
Block a user