Improve message when removing a user

pull/1103/head
Chocobozzz 2018-09-20 11:55:00 +02:00
parent f201a74992
commit d466dece0a
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 1 deletions

View 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(