diff options
Diffstat (limited to 'client/src/app/+admin/users/user-edit/user-update.component.ts')
-rw-r--r-- | client/src/app/+admin/users/user-edit/user-update.component.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/client/src/app/+admin/users/user-edit/user-update.component.ts b/client/src/app/+admin/users/user-edit/user-update.component.ts index 4e4002a73..94ef87b08 100644 --- a/client/src/app/+admin/users/user-edit/user-update.component.ts +++ b/client/src/app/+admin/users/user-edit/user-update.component.ts | |||
@@ -1,4 +1,4 @@ | |||
1 | import { Component, OnDestroy, OnInit, Input } from '@angular/core' | 1 | import { Component, OnDestroy, OnInit } from '@angular/core' |
2 | import { ActivatedRoute, Router } from '@angular/router' | 2 | import { ActivatedRoute, Router } from '@angular/router' |
3 | import { Subscription } from 'rxjs' | 3 | import { Subscription } from 'rxjs' |
4 | import { Notifier } from '@app/core' | 4 | import { Notifier } from '@app/core' |
@@ -93,8 +93,7 @@ export class UserUpdateComponent extends UserEdit implements OnInit, OnDestroy { | |||
93 | resetPassword () { | 93 | resetPassword () { |
94 | this.userService.askResetPassword(this.userEmail).subscribe( | 94 | this.userService.askResetPassword(this.userEmail).subscribe( |
95 | () => { | 95 | () => { |
96 | this.notificationsService.success( | 96 | this.notifier.success( |
97 | this.i18n('Success'), | ||
98 | this.i18n('An email asking for password reset has been sent to {{username}}.', { username: this.username }) | 97 | this.i18n('An email asking for password reset has been sent to {{username}}.', { username: this.username }) |
99 | ) | 98 | ) |
100 | }, | 99 | }, |