aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-09-20 11:55:00 +0200
committerChocobozzz <me@florianbigard.com>2018-09-20 11:55:00 +0200
commitd466dece0a07555b91f01fa35fcc5dcfe79d9e12 (patch)
treed3b7a8d3fb16ecf92cbeb1790d1cc726b8b81d6e
parentf201a749929ec8094a7ba6bcab7b196870ca5a5e (diff)
downloadPeerTube-d466dece0a07555b91f01fa35fcc5dcfe79d9e12.tar.gz
PeerTube-d466dece0a07555b91f01fa35fcc5dcfe79d9e12.tar.zst
PeerTube-d466dece0a07555b91f01fa35fcc5dcfe79d9e12.zip
Improve message when removing a user
-rw-r--r--client/src/app/+admin/users/user-list/user-list.component.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/+admin/users/user-list/user-list.component.ts b/client/src/app/+admin/users/user-list/user-list.component.ts
index 57e63d465..9697ce202 100644
--- a/client/src/app/+admin/users/user-list/user-list.component.ts
+++ b/client/src/app/+admin/users/user-list/user-list.component.ts
@@ -105,7 +105,8 @@ export class UserListComponent extends RestTable implements OnInit {
105 return 105 return
106 } 106 }
107 107
108 const res = await this.confirmService.confirm(this.i18n('Do you really want to delete this user?'), this.i18n('Delete')) 108 const message = this.i18n('If you remove this user, you will not be able to create another with the same username!')
109 const res = await this.confirmService.confirm(message, this.i18n('Delete'))
109 if (res === false) return 110 if (res === false) return
110 111
111 this.userService.removeUser(user).subscribe( 112 this.userService.removeUser(user).subscribe(