mirror of
https://github.com/iFargle/headscale-webui.git
synced 2026-03-21 00:44:43 +01:00
Update error message when deleting a user
This commit is contained in:
@@ -832,7 +832,7 @@ function delete_user(user_id, user_name) {
|
||||
M.toast({html: 'User deleted.'});
|
||||
} else {
|
||||
// We errored. Decipher the error Headscale sent us and display it:
|
||||
load_modal_generic("error", "Error setting user name", "Headscale response: "+JSON.stringify(response.body.message))
|
||||
load_modal_generic("error", "Error deleting user", "Headscale response: "+JSON.stringify(response.body.message))
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user