mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-25 08:09:38 +02:00
fix password resets (#741)
This commit is contained in:
parent
b448446fbe
commit
943972690e
2 changed files with 3 additions and 2 deletions
|
@ -3,7 +3,7 @@ class PasswordResetsController < ApplicationController
|
|||
|
||||
layout "auth"
|
||||
|
||||
before_action :set_user_by_token, only: :update
|
||||
before_action :set_user_by_token, only: %i[ edit update ]
|
||||
|
||||
def new
|
||||
end
|
||||
|
@ -20,6 +20,7 @@ class PasswordResetsController < ApplicationController
|
|||
end
|
||||
|
||||
def edit
|
||||
@user = User.new
|
||||
end
|
||||
|
||||
def update
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue