Skip to content

Commit

Permalink
Fix remaining password_reset_* typos
Browse files Browse the repository at this point in the history
  • Loading branch information
janko committed May 14, 2020
1 parent 116d1cf commit 45ba96c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ class RodauthApp < Rodauth::Rails::App
configure do
# ...
send_reset_password_email do
RodauthMailer.reset_password(email_to, password_reset_email_link).deliver_now
RodauthMailer.reset_password(email_to, reset_password_email_link).deliver_now
end
send_verify_account_email do
RodauthMailer.verify_account(email_to, verify_account_email_link).deliver_now
Expand Down
4 changes: 2 additions & 2 deletions lib/generators/rodauth/templates/lib/rodauth_app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ class RodauthApp < Rodauth::Rails::App
# end
#
# Then use the new custom method in configuration blocks.
# send_password_reset_email do
# my_send_email(:password_reset, email_to, password_reset_email_link)
# send_reset_password_email do
# my_send_email(:reset_password, email_to, reset_password_email_link)
# end
end

Expand Down

0 comments on commit 45ba96c

Please sign in to comment.