Commit b8b62ae9126bfe35cafb2ac2f9a94939633595c0

Authored by Nikita Kulshreshtha
2 parents a79023e0 094e95a7

Merge branch 'AfterResetPasswordClose' into Develop

400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
... ... @@ -263,7 +263,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
263 263 alert(LoginConstants.ERROR_IN_FECTHING_DETAILS);
264 264 }
265 265 else {
266   - if (result.loginId != undefined && result.loginId != "" && result.loginId != null) {
  266 + if ((result.isAcknowledged == true) && (result.isModifiedCountAvailable == true)) {
267 267 alert('Your password has been reset.');
268 268 $rootScope.isVisibleLogin = true;
269 269 $rootScope.isVisibleResetPass = false;
... ...