mirror of https://github.com/Chocobozzz/PeerTube
Improve message when removing a user
parent
f201a74992
commit
d466dece0a
|
@ -105,7 +105,8 @@ export class UserListComponent extends RestTable implements OnInit {
|
||||||
return
|
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
|
if (res === false) return
|
||||||
|
|
||||||
this.userService.removeUser(user).subscribe(
|
this.userService.removeUser(user).subscribe(
|
||||||
|
|
Loading…
Reference in New Issue