Commit 094e95a71380b728b28d8b61593d89eb12984fd4
1 parent
a79023e0
Update password intimation related changes
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; | ... | ... |