1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #42281 from maximeg/patch-1

Minor: Typo in ActiveSupport::SecureCompareRotator doc [ci skip]
This commit is contained in:
Robin Dupret 2021-05-24 15:50:07 +02:00 committed by GitHub
commit eb8c12894e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,7 @@ module ActiveSupport
#
# class MyController < ApplicationController
# def authenticate_request
# rotator = ActiveSupport::SecureComparerotator.new('new_password')
# rotator = ActiveSupport::SecureCompareRotator.new('new_password')
# rotator.rotate('old_password')
#
# authenticate_or_request_with_http_basic do |username, password|