dialog_delete_username

Open a dialog to confirm the deletion of the username of a user.

The required id argument identifies the user resource. on_success can be repeated and is forwarded to the confirmed deletion. The dialog is only opened on a writable site for users allowed to use mod_admin_identity, and only when the resource currently has a username.

{% button text="Remove login" action={dialog_delete_username id=id on_success={reload}} %}

Edit on GitHub