Commit b8b62ae9126bfe35cafb2ac2f9a94939633595c0
Merge branch 'AfterResetPasswordClose' into Develop
Showing
1 changed file
with
1 additions
and
1 deletions
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; | ... | ... |