projects
/
osm
/
NG-UI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Feature 10941: User Management Enhancements
[osm/NG-UI.git]
/
src
/
app
/
users
/
add-user
/
AddEditUserComponent.ts
diff --git
a/src/app/users/add-user/AddEditUserComponent.ts
b/src/app/users/add-user/AddEditUserComponent.ts
index
076cfba
..
e7592e4
100644
(file)
--- a/
src/app/users/add-user/AddEditUserComponent.ts
+++ b/
src/app/users/add-user/AddEditUserComponent.ts
@@
-227,6
+227,8
@@
export class AddEditUserComponent implements OnInit {
if (this.isFirstLogin) {
this.notifierService.notify('success', this.translateService.instant('PAGE.USERS.CHANGEPASSWORD'));
this.authService.destoryToken();
if (this.isFirstLogin) {
this.notifierService.notify('success', this.translateService.instant('PAGE.USERS.CHANGEPASSWORD'));
this.authService.destoryToken();
+ } else if (this.userType === 'changePassword' && (!this.isFirstLogin)) {
+ this.notifierService.notify('success', this.translateService.instant('PAGE.USERS.CHANGEDSUCCESSFULLY'));
} else {
this.notifierService.notify('success', this.translateService.instant('PAGE.USERS.EDITEDSUCCESSFULLY'));
}
} else {
this.notifierService.notify('success', this.translateService.instant('PAGE.USERS.EDITEDSUCCESSFULLY'));
}