From e1cfcb1951a05c4c440e6ad9d485846d0c2582fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Tue, 5 Sep 2023 20:27:06 +0000 Subject: [PATCH] Fix indentation in 7.1 release notes --- guides/source/7_1_release_notes.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/guides/source/7_1_release_notes.md b/guides/source/7_1_release_notes.md index e327e03a85..9535bf19f7 100644 --- a/guides/source/7_1_release_notes.md +++ b/guides/source/7_1_release_notes.md @@ -101,14 +101,14 @@ Here's an example of how this feature can be used: ```ruby class User < ActiveRecord::Base - has_secure_password + has_secure_password - generates_token_for :password_reset, expires_in: 15.minutes do - # A password's BCrypt salt changes when the password is updated. - # By embedding (part of) the salt in a token, the token will - # expire when the password is updated. - BCrypt::Password.new(password_digest).salt[-10..] - end + generates_token_for :password_reset, expires_in: 15.minutes do + # A password's BCrypt salt changes when the password is updated. + # By embedding (part of) the salt in a token, the token will + # expire when the password is updated. + BCrypt::Password.new(password_digest).salt[-10..] + end end user = User.first