Improve message when removing a user
authorChocobozzz <me@florianbigard.com>
Thu, 20 Sep 2018 09:55:00 +0000 (11:55 +0200)
committerChocobozzz <me@florianbigard.com>
Thu, 20 Sep 2018 09:55:00 +0000 (11:55 +0200)
client/src/app/+admin/users/user-list/user-list.component.ts

index 57e63d46547e2d1ec483a1a55a08a69630d4c90f..9697ce202e4540e220334913f7509877cb0193c8 100644 (file)
@@ -105,7 +105,8 @@ export class UserListComponent extends RestTable implements OnInit {
       return
     }
 
-    const res = await this.confirmService.confirm(this.i18n('Do you really want to delete this user?'), this.i18n('Delete'))
+    const message = this.i18n('If you remove this user, you will not be able to create another with the same username!')
+    const res = await this.confirmService.confirm(message, this.i18n('Delete'))
     if (res === false) return
 
     this.userService.removeUser(user).subscribe(