Skip to content

Commit

Permalink
Specify username in admin account deletion dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
catfromplan9 authored and evan-goode committed Aug 22, 2024
1 parent 7198360 commit 9bdbced
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion view/admin.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
id="delete-{{ $user.Username }}"
action="{{ $.App.FrontEndURL }}/web/delete-user"
method="post"
onsubmit="return confirm('Are you sure? This action is irreversible.');"
onsubmit="return confirm('Are you sure you want to delete the account “{{ $user.Username }}”? This action is irreversible.');"
>
<input hidden name="returnUrl" value="{{ $.URL }}" />
<input type="text" name="username" value="{{ $user.Username }}" />
Expand Down

0 comments on commit 9bdbced

Please sign in to comment.