mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #28569 from HarryCollins/patch-1
Update Action Cable README.md - typo fix [ci skip]
This commit is contained in:
commit
296d024b4e
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ module ApplicationCable
|
|||
|
||||
private
|
||||
def find_verified_user
|
||||
if current_user = User.find_by(id: cookies.signed[:user_id])
|
||||
if current_user == User.find_by(id: cookies.signed[:user_id])
|
||||
current_user
|
||||
else
|
||||
reject_unauthorized_connection
|
||||
|
|
Loading…
Reference in a new issue