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:
commit
eb8c12894e
1 changed files with 1 additions and 1 deletions
|
@ -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|
|
||||
|
|
Loading…
Reference in a new issue