Finalized user creation

parent 3265218d
......@@ -258,7 +258,6 @@
.then(response => response.json())
.then(data => {
if (data.success) {
alert('User deleted successfully');
loadUsers();
} else {
alert('Failed to delete user: ' + (data.error || 'Unknown error'));
......@@ -329,4 +328,4 @@
loadUsers();
});
</script>
{% endblock %}
\ No newline at end of file
{% endblock %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment