diff --git a/templates/profile_form.templ b/templates/profile_form.templ index 6c1b4ce6..2d3ecfa7 100644 --- a/templates/profile_form.templ +++ b/templates/profile_form.templ @@ -5,7 +5,6 @@ templ ProfileForm(user User, actionURL string, requireCurrentPassword bool, show hx-put={ actionURL } hx-target="#profile-result" hx-swap="innerHTML" - hx-headers='{"Authorization": "Bearer " + localStorage.getItem("token")}' class="space-y-8" >
@@ -150,7 +149,6 @@ templ ProfileForm(user User, actionURL string, requireCurrentPassword bool, show