fix password resets (#741)

This commit is contained in:
Duy Le
2024-05-14 00:23:24 +07:00
committed by GitHub
parent b448446fbe
commit 943972690e
2 changed files with 3 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
header_title t(".title")
%>
<%= form_with url: password_reset_path(token: params[:token]), html: {class: "space-y-6"} do |form| %>
<%= form_with model: @user, url: password_reset_path(token: params[:token]), method: :patch, html: {class: "space-y-6"} do |form| %>
<%= auth_messages form %>
<div class="relative border border-gray-100 bg-gray-25 rounded-xl focus-within:bg-white focus-within:shadow focus-within:opacity-100">